RemotePresentitySubscriptionTarget Constructor (RealTimeAddress, String)

Subscription contact to be used for subscription with given context data.

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

Syntax

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

Dim instance As New RemotePresentitySubscriptionTarget(address, _
    contextData)
public RemotePresentitySubscriptionTarget(
    RealTimeAddress address,
    string contextData
)

Parameters

Remarks

No context will be sent in case of null or empty string.

Exceptions

[T:System.ArgumentNullException]: Thrown if the address parameter is null.

See Also

Reference

RemotePresentitySubscriptionTarget Class

RemotePresentitySubscriptionTarget Members

RemotePresentitySubscriptionTarget Overload

Microsoft.Rtc.Collaboration.Presence Namespace