|
ChannelResourceGeneralCauseMessage Property |
General Cause message for a disconnected call if available.
Namespace:
VoiceElements.Client
Assembly:
VoiceElementsClient (in VoiceElementsClient.dll) Version: 8.6.1.1
Syntax public string GeneralCauseMessage { get; }
Public ReadOnly Property GeneralCauseMessage As String
Get
public:
property String^ GeneralCauseMessage {
String^ get ();
}
member GeneralCauseMessage : string with get
Property Value
Type:
StringRemarks Examples
The example below shows a chunk of code that gets all of the possible
Cause Code properties and puts them into variables for logging when a
Disconnect Event arrives.
static void ChannelResource_Disconnected(object sender, DisconnectedEventArgs e)
{
int GcCode = e.ChannelResource.GcCause;
string GcMessage = e.ChannelResource.GcCauseMessage;
int GeneralCode = e.ChannelResource.GeneralCause;
string GeneralMessage = e.ChannelResource.GeneralCauseMessage;
}
Private Shared Sub ChannelResource_Disconnected(sender As Object, e As DisconnectedEventArgs)
Dim GcCode As Integer = e.ChannelResource.GcCause
Dim GcMessage As String = e.ChannelResource.GcCauseMessage
Dim GeneralCode As Integer = e.ChannelResource.GeneralCause
Dim GeneralMessage As String = e.ChannelResource.GeneralCauseMessage
End Sub
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
See Also