Share via


Request.Request (String, String)

Request.Request (String, String)

The Request constructor creates an instance of a Request Sip Class object, with a specified SIP method type and a destination URI.

Syntax

[C#]

public Request(
  String method,
  String requestUri
);

Syntax

[Visual Basic .NET]

Public Sub New( _
  ByVal method As String, _
  ByVal requestUri As String _
)

Parameters

  • method
    Specifies the SIP method as a string. The format is the method name in all capitals, such as "INVITE" or "ACK".

  • requestUri
    Specifies the URI for whom the request is intended.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts

Request Constructors

Request Sip Class