IsMethodResult Property

NOTE: This API is now obsolete.

Gets whether the results of the state change are also reported directly to the application due to a method call.

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

Syntax

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

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

Property Value

Type: System..::..Boolean
true if the same result is reported as the result of the method call; otherwisefalse.

Remarks

For example, an exception encountered by calling Invite is reported both where Invite is called and in the state change. An application written to handle errors when it makes method calls should only need to handle results reported in the state change (IsMethodResult == false).

See Also

Reference

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

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

Microsoft.Rtc.Signaling Namespace