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 _
)
|
|
public SipSubscription (
RealTimeEndpoint subscriber,
RealTimeAddress targetAddress,
string eventPackageName,
ISipSubscriptionProcessor processorInterface
)
|
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.
Exceptions
Exception type |
Condition |
ArgumentNullException
|
Thrown when the eventPackageName or subscriber
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