Share via


ReferStatus.BeginTerminateSubscription Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Terminates this refer subscription.

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

Syntax

'Declaration
Public Function BeginTerminateSubscription ( _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
public IAsyncResult BeginTerminateSubscription (
    AsyncCallback userCallback,
    Object state
)

Parameters

  • userCallback
    The method to be called when the TerminateSubscription operation has completed.
  • state
    The state to be passed back to the callback.

Return Value

Returns an IAsyncResult that references this operation.

Remarks

The subscription is active until terminating Notify message is received. If the application is not interested in waiting for the notification messages, this method can be used to terminate the underlying subscription for these notification messages. The Refer state is not affected by this operation.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

ReferStatus Class
ReferStatus Members
Microsoft.Rtc.Signaling Namespace