SipServiceRequest.BeginService Method

Definition

Overloads

BeginService(AsyncCallback, Object)

Initiates a service request.

BeginService(RealTimeAddress, AsyncCallback, Object)

Initiates a service request.

BeginService(IEnumerable<SignalingHeader>, RealTimeAddress, AsyncCallback, Object)

Initiates a service request.

BeginService(AsyncCallback, Object)

Initiates a service request.

public:
 IAsyncResult ^ BeginService(AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginService (AsyncCallback userCallback, object state);
member this.BeginService : AsyncCallback * obj -> IAsyncResult
Public Function BeginService (userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Applies to

BeginService(RealTimeAddress, AsyncCallback, Object)

Initiates a service request.

public:
 IAsyncResult ^ BeginService(Microsoft::Rtc::Signaling::RealTimeAddress ^ target, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginService (Microsoft.Rtc.Signaling.RealTimeAddress target, AsyncCallback userCallback, object state);
member this.BeginService : Microsoft.Rtc.Signaling.RealTimeAddress * AsyncCallback * obj -> IAsyncResult
Public Function BeginService (target As RealTimeAddress, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

target
RealTimeAddress

The address to be used in "To" header of the service request.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Applies to

BeginService(IEnumerable<SignalingHeader>, RealTimeAddress, AsyncCallback, Object)

Initiates a service request.

public:
 IAsyncResult ^ BeginService(System::Collections::Generic::IEnumerable<Microsoft::Rtc::Signaling::SignalingHeader ^> ^ signalingHeaders, Microsoft::Rtc::Signaling::RealTimeAddress ^ target, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginService (System.Collections.Generic.IEnumerable<Microsoft.Rtc.Signaling.SignalingHeader> signalingHeaders, Microsoft.Rtc.Signaling.RealTimeAddress target, AsyncCallback userCallback, object state);
member this.BeginService : seq<Microsoft.Rtc.Signaling.SignalingHeader> * Microsoft.Rtc.Signaling.RealTimeAddress * AsyncCallback * obj -> IAsyncResult
Public Function BeginService (signalingHeaders As IEnumerable(Of SignalingHeader), target As RealTimeAddress, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

signalingHeaders
IEnumerable<SignalingHeader>

"Accepted" headers that you may want to add in the service request. Can be null.

target
RealTimeAddress

The address to be used in "To" header of the service request.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Applies to