SipServiceRequest.Service Method

Initiates a service request.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Function Service ( _
    signalingHeaders As IEnumerable(Of SignalingHeader), _
    target As RealTimeAddress _
) As SipResponseData
'Usage
Dim instance As SipServiceRequest
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
Dim target As RealTimeAddress
Dim returnValue As SipResponseData

returnValue = instance.Service(signalingHeaders, _
    target)
public SipResponseData Service(
    IEnumerable<SignalingHeader> signalingHeaders,
    RealTimeAddress target
)

Parameters

Return Value

Type: Microsoft.Rtc.Signaling.SipResponseData
Returns the response data.

Exceptions

Exception Condition
InvalidOperationException

Thrown when this method is invoked multiple times using the same asyncResult.

ArgumentNullException

Thrown when the target parameter is null.

ArgumentException

Thrown when the target parameter is invalid.

FailureResponseException

Thrown when the remote side returns a failure response for this operation.

OperationTimeoutException

Thrown when the this operation timed out.

OperationFailureException

Thrown when any of the sub operations of this operation failed due to invalid object state.

RealTimeException

Thrown when any of the sub operations of this operation failed due to SIP related errors like connection failure, Authentication failure.

See Also

Reference

SipServiceRequest Class

SipServiceRequest Members

Microsoft.Rtc.Signaling Namespace