RemotePresentitySubscriptionTarget Constructor (String, String)
NOTE: This API is now obsolete.
Creates a RemotePresentitySubscriptionTarget object.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
<ObsoleteAttribute("This constructor is obselete, use public RemotePresentitySubscriptionTarget(string uri) and set ContextData property instead.")> _
Public Sub New ( _
uri As String, _
context As String _
)
'Usage
Dim uri As String
Dim context As String
Dim instance As New RemotePresentitySubscriptionTarget(uri, context)
[ObsoleteAttribute("This constructor is obselete, use public RemotePresentitySubscriptionTarget(string uri) and set ContextData property instead.")]
public RemotePresentitySubscriptionTarget(
string uri,
string context
)
Parameters
- uri
Type: System.String
Target URI.
- context
Type: System.String
Context data to be used with subscription.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when uri is null. |
Remarks
Please use public RemotePresentitySubscriptionTarget(string uri) instead.
See Also
Reference
RemotePresentitySubscriptionTarget Class
RemotePresentitySubscriptionTarget Members
RemotePresentitySubscriptionTarget Overload