Edit

Share via


SipSubscription Constructors

Definition

Overloads

SipSubscription(RealTimeEndpoint, RealTimeAddress, String, ISipSubscriptionProcessor)

Creates the SipSubscription object and initializes the values.

SipSubscription(RealTimeEndpoint, RealTimeAddress, String, ISipSubscriptionProcessor, Boolean)

Creates the SipSubscription object and initializes the values.

SipSubscription(RealTimeEndpoint, RealTimeAddress, String, ISipSubscriptionProcessor, Boolean, String)

Creates the SipSubscription object and initializes the values.

SipSubscription(RealTimeEndpoint, RealTimeAddress, String, ISipSubscriptionProcessor)

Creates the SipSubscription object and initializes the values.

public:
 SipSubscription(Microsoft::Rtc::Signaling::RealTimeEndpoint ^ subscriber, Microsoft::Rtc::Signaling::RealTimeAddress ^ targetAddress, System::String ^ eventPackageName, Microsoft::Rtc::Signaling::ISipSubscriptionProcessor ^ processorInterface);
public SipSubscription (Microsoft.Rtc.Signaling.RealTimeEndpoint subscriber, Microsoft.Rtc.Signaling.RealTimeAddress targetAddress, string eventPackageName, Microsoft.Rtc.Signaling.ISipSubscriptionProcessor processorInterface);
new Microsoft.Rtc.Signaling.SipSubscription : Microsoft.Rtc.Signaling.RealTimeEndpoint * Microsoft.Rtc.Signaling.RealTimeAddress * string * Microsoft.Rtc.Signaling.ISipSubscriptionProcessor -> Microsoft.Rtc.Signaling.SipSubscription
Public Sub New (subscriber As RealTimeEndpoint, targetAddress As RealTimeAddress, eventPackageName As String, processorInterface As ISipSubscriptionProcessor)

Parameters

subscriber
RealTimeEndpoint

The RealTimeEndpoint for the subscriber.

targetAddress
RealTimeAddress

The target address to be used in the To header of the subscription request.

eventPackageName
String

The event package.

processorInterface
ISipSubscriptionProcessor

The Subscription Processor interface.

Exceptions

Thrown when the eventPackageName or subscriber is null.

Thrown when the eventPackageName parameter is an empty string.

Applies to

SipSubscription(RealTimeEndpoint, RealTimeAddress, String, ISipSubscriptionProcessor, Boolean)

Creates the SipSubscription object and initializes the values.

public:
 SipSubscription(Microsoft::Rtc::Signaling::RealTimeEndpoint ^ subscriber, Microsoft::Rtc::Signaling::RealTimeAddress ^ targetAddress, System::String ^ eventPackageName, Microsoft::Rtc::Signaling::ISipSubscriptionProcessor ^ processorInterface, bool isQueryOnly);
public SipSubscription (Microsoft.Rtc.Signaling.RealTimeEndpoint subscriber, Microsoft.Rtc.Signaling.RealTimeAddress targetAddress, string eventPackageName, Microsoft.Rtc.Signaling.ISipSubscriptionProcessor processorInterface, bool isQueryOnly);
new Microsoft.Rtc.Signaling.SipSubscription : Microsoft.Rtc.Signaling.RealTimeEndpoint * Microsoft.Rtc.Signaling.RealTimeAddress * string * Microsoft.Rtc.Signaling.ISipSubscriptionProcessor * bool -> Microsoft.Rtc.Signaling.SipSubscription
Public Sub New (subscriber As RealTimeEndpoint, targetAddress As RealTimeAddress, eventPackageName As String, processorInterface As ISipSubscriptionProcessor, isQueryOnly As Boolean)

Parameters

subscriber
RealTimeEndpoint

The RealTimeEndpoint for the subscriber.

targetAddress
RealTimeAddress

The target address to be used in the To header of the subscription request.

eventPackageName
String

The event package.

processorInterface
ISipSubscriptionProcessor

The Subscription Processor interface.

isQueryOnly
Boolean

Indicates if this subscription is query only; this will add the Expires=0 header on request and no retry on failure.

Exceptions

Thrown when any parameter passed is null.

Thrown when the eventPackageName parameter is an empty string.

Applies to

SipSubscription(RealTimeEndpoint, RealTimeAddress, String, ISipSubscriptionProcessor, Boolean, String)

Creates the SipSubscription object and initializes the values.

public:
 SipSubscription(Microsoft::Rtc::Signaling::RealTimeEndpoint ^ subscriber, Microsoft::Rtc::Signaling::RealTimeAddress ^ targetAddress, System::String ^ eventPackageName, Microsoft::Rtc::Signaling::ISipSubscriptionProcessor ^ processorInterface, bool isQueryOnly, System::String ^ localIdentityUri);
public SipSubscription (Microsoft.Rtc.Signaling.RealTimeEndpoint subscriber, Microsoft.Rtc.Signaling.RealTimeAddress targetAddress, string eventPackageName, Microsoft.Rtc.Signaling.ISipSubscriptionProcessor processorInterface, bool isQueryOnly, string localIdentityUri);
new Microsoft.Rtc.Signaling.SipSubscription : Microsoft.Rtc.Signaling.RealTimeEndpoint * Microsoft.Rtc.Signaling.RealTimeAddress * string * Microsoft.Rtc.Signaling.ISipSubscriptionProcessor * bool * string -> Microsoft.Rtc.Signaling.SipSubscription
Public Sub New (subscriber As RealTimeEndpoint, targetAddress As RealTimeAddress, eventPackageName As String, processorInterface As ISipSubscriptionProcessor, isQueryOnly As Boolean, localIdentityUri As String)

Parameters

subscriber
RealTimeEndpoint

The RealTimeEndpoint for the subscriber.

targetAddress
RealTimeAddress

The target address to be used in the To header of the subscription request.

eventPackageName
String

The event package.

processorInterface
ISipSubscriptionProcessor

The Subscription Processor interface.

isQueryOnly
Boolean

Indicates if this subscription is query only; this will add the Expires=0 header on request and no retry on failure.

localIdentityUri
String

The local identity URI to use in "From" headers.

Exceptions

Thrown when the eventPackageName or subscriber is null.

Thrown when the eventPackageName parameter is an empty string.

Applies to