SipPeerToPeerEndpointExtensions.RegisterForSubscriptionSession(SipPeerToPeerEndpoint, String, IEnumerable<ContentType>, EventHandler<SubscriptionSessionReceivedEventArgs>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
[System::Runtime::CompilerServices::Extension]
static void RegisterForSubscriptionSession(Microsoft::Rtc::Signaling::SipPeerToPeerEndpoint ^ endpoint, System::String ^ eventPackage, System::Collections::Generic::IEnumerable<System::Net::Mime::ContentType ^> ^ contentTypes, EventHandler<Microsoft::Rtc::Internal::Signaling::SubscriptionSessionReceivedEventArgs ^> ^ handler);
public static void RegisterForSubscriptionSession (this Microsoft.Rtc.Signaling.SipPeerToPeerEndpoint endpoint, string eventPackage, System.Collections.Generic.IEnumerable<System.Net.Mime.ContentType> contentTypes, EventHandler<Microsoft.Rtc.Internal.Signaling.SubscriptionSessionReceivedEventArgs> handler);
static member RegisterForSubscriptionSession : Microsoft.Rtc.Signaling.SipPeerToPeerEndpoint * string * seq<System.Net.Mime.ContentType> * EventHandler<Microsoft.Rtc.Internal.Signaling.SubscriptionSessionReceivedEventArgs> -> unit
<Extension()>
Public Sub RegisterForSubscriptionSession (endpoint As SipPeerToPeerEndpoint, eventPackage As String, contentTypes As IEnumerable(Of ContentType), handler As EventHandler(Of SubscriptionSessionReceivedEventArgs))
Parameters
- endpoint
- SipPeerToPeerEndpoint
- eventPackage
- String
- contentTypes
- IEnumerable<ContentType>