ConnectionDroppedEventArgs.ConnectionDroppedEventArgs (ConnectionDroppedReason)

The ConnectionDroppedEventArgs constructor creates a new instance of the ConnectionDroppedEventArgs class, with a ConnectionDroppedReason value indicating the reason for the dropped connection.

Syntax

[C#]

  Copy imageCopy Code
public ConnectionDroppedEventArgs(
  ConnectionDroppedReason reason
);

Syntax

[Visual Basic .NET]

  Copy imageCopy Code
Public Sub New( _
  ByVal reason As ConnectionDroppedReason _
)

Parameters

Reason

ConnectionDroppedReason enumeration value that specifies the reason for the dropped connection.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also