'DeclarationPublic Function New( _ ByVal connectionState As CommunicationConnectionState, _ ByVal exception As Exception, _ ByVal retrialDelay As Integer _ )
'UsageDim connectionState As CommunicationConnectionState Dim exception As Exception Dim retrialDelay As Integer Dim instance As New ConnectedCondition(connectionState, exception, retrialDelay)
public ConnectedCondition( CommunicationConnectionState connectionState, Exception exception, int retrialDelay )
public: ConnectedCondition( CommunicationConnectionState connectionState, Exception^ exception, int retrialDelay )
Parameters
- connectionState
- The initial connection state of the connection. This value indicates whether the connection is disconnected, connecting, connected, or disconnecting.
- exception
- An System.Exception that provides details about an error that occurred.
The value of this parameter can be
null(Nothingin Visual Basic). - retrialDelay
- The delay, in milliseconds, before retrying the connection. Must be a valid timeout value.