SocketTimeout Constructor |
Constructor.
Namespace: StreamCoders.NetworkAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic SocketTimeout(
int milliseconds,
TimeoutEventDelegate onTimeout
)
Public Sub New (
milliseconds As Integer,
onTimeout As TimeoutEventDelegate
)
public:
SocketTimeout(
int milliseconds,
TimeoutEventDelegate^ onTimeout
)
new :
milliseconds : int *
onTimeout : TimeoutEventDelegate -> SocketTimeout
Parameters
- milliseconds
- Type: SystemInt32
The timeout of an operation. - onTimeout
- Type: StreamCoders.NetworkTimeoutEventDelegate
A callback to initiate once the timer has expired.
See Also