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)


<ObsoleteAttribute("This property is now obsolete.")> _
Public ReadOnly Property IsMethodResult As Boolean
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.


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


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

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

Microsoft.Rtc.Signaling Namespace