Partager via


Request.Clone(String) method

 
Microsoft Office Live Communications Server 2005 with SP1

Request.Clone (String)

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

[C#]
public Request Clone(
String targetUri
);

  [Visual Basic .NET]
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 Live Communications Server 2005 with SP1.
Namespace: Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)

See Also

Request.Clone(), Request

  
  What did you think of this topic?
  © 2008 Microsoft Corporation. All rights reserved.