Creates the
SipSubscription object and initializes the
values.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in
microsoft.rtc.collaboration.dll)
Syntax
|
Public Sub New ( _
subscriber As RealTimeEndpoint, _
targetAddress As RealTimeAddress, _
eventPackageName As String, _
processorInterface As ISipSubscriptionProcessor, _
isQueryOnly As Boolean _
)
|
|
public SipSubscription (
RealTimeEndpoint subscriber,
RealTimeAddress targetAddress,
string eventPackageName,
ISipSubscriptionProcessor processorInterface,
bool isQueryOnly
)
|
Parameters
- subscriber
-
The SipEndpoint for the subscriber.
- targetAddress
-
The target address to be used in the To header of the
subscription request.
- eventPackageName
-
The event package.
- processorInterface
-
The subscription processor interface.
- isQueryOnly
-
Indicates if this subscription is query-only; this adds the
Expires=0 header on request and no retry on failure.
Exceptions
Exception type |
Condition |
ArgumentNullException
|
Thrown when any parameter passed is null.
|
ArgumentException
|
Thrown when the eventPackageName parameter is an
empty string.
|
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