Share via


This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Request.Request (String, String)

The Request constructor creates an instance of a Request_OCS_ServerApi 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 Office Communications Server 2007.

Namespace:Microsoft.Rtc.Sip Namespace

Assembly: ServerAgent (in ServerAgent.dll)

Concepts

Request Constructors

Request_OCS_ServerApi