Share via


RemoteSubscriptionContext Constructor (String)

Creates a ContextData object.

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

Syntax

'Declaration
Public Sub New ( _
    contextData As String _
)
'Usage
Dim contextData As String

Dim instance As New RemoteSubscriptionContext(contextData)
public RemoteSubscriptionContext(
    string contextData
)

Parameters

  • contextData
    Type: System.String
    Context data to be used with the subscription.

Exceptions

Exception Condition
ArgumentNullException

Thrown if contextData is null.

ArgumentException

Thrown if contextData is null or an invalid xml string.

Remarks

The value of contextData is defined by a schema and it is necessary to follow that to interop correctly with Microsoft Lync 2010.

See Also

Reference

RemoteSubscriptionContext Class

RemoteSubscriptionContext Members

RemoteSubscriptionContext Overload

Microsoft.Rtc.Collaboration.Presence Namespace