'DeclarationPublic Function New( _ ByVal connectionState As CommunicationConnectionState, _ ByVal exception As Exception _ )
'UsageDim connectionState As CommunicationConnectionState Dim exception As Exception Dim instance As New ConnectedCondition(connectionState, exception)
public ConnectedCondition( CommunicationConnectionState connectionState, Exception exception )
public: ConnectedCondition( CommunicationConnectionState connectionState, Exception^ exception )
Parameters
- connectionState
- The initial connection state of the condition. This value indicates the current state of the communication connection.
- exception
- An exception that provides additional details about the connection state in error scenarios.
The value of this parameter can be
null(Nothingin Visual Basic).