Request.Clone (String)

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.Clone (String)

The Clone method creates a deep copy of this Request Sip Class object instance with the supplied SIP URI represented as a string.

Syntax

 public Request Clone( 
 String targetUri 
 ); 

Syntax

 Public Function Clone( _ 
 ByVal targetUri As String _  
 ) 
As  Request 

Parameters

  • targetUri
    Specifies the new SIP URI for the clone, replacing the original.

Return Values

Returns a Request object that contains the clone of the request.

Remarks

The clone is not perfect; some system-level properties, such as the VIA header, are not cloned because the new request takes on a new identity. This method can be used to create a forked Request object.

Requirements

Redistributable: Requires Microsoft Office Communications Server 2007 R2.

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts

Request.Clone ()

Request Sip Class