The ConnectionDroppedEventArgsconstructor creates a new instance of the ConnectionDroppedEventArgs class, with a ConnectionDroppedReason value that indicates the reason for the dropped connection.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Sub New ( _ reason As ConnectionDroppedReason _ ) |
Visual Basic (usage) |
---|
Dim reason As ConnectionDroppedReason Dim instance As New ConnectionDroppedEventArgs( reason) |
C# |
---|
public ConnectionDroppedEventArgs( ConnectionDroppedReason reason ) |
Parameters
- reason
- Type:
Microsoft.Rtc.Sip
.
.
::
.
.
ConnectionDroppedReason
ConnectionDroppedReason enumeration value that specifies the reason for the dropped connection.