Error Property

NOTE: This API is now obsolete.

Gets the exception related to the state change or nullNothingnullptrunita null reference (Nothing in Visual Basic).

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
<ObsoleteAttribute("This property is now obsolete.")> _
Public ReadOnly Property Error As Exception
    Get
'Usage
Dim instance As StateChangedEventArgs
Dim value As Exception

value = instance.Error
[ObsoleteAttribute("This property is now obsolete.")]
public Exception Error { get; }

Property Value

Type: System..::..Exception
If an exception is present, it can be used to distinguish reasons for state transitions. A value of nullNothingnullptrunita null reference (Nothing in Visual Basic) does not necessarily indicate success.

See Also

Reference

StateChangedEventArgs<(Of <(<'T>)>)> Class

StateChangedEventArgs<(Of <(<'T>)>)> Members

Microsoft.Rtc.Signaling Namespace