Request.Clone ()

The Clone method creates a deep copy of this Request Sip Class object instance.

Syntax

[C#]

  Copy imageCopy Code
public Object Clone();

Syntax

[Visual Basic .NET]

  Copy imageCopy Code
Public Function Clone() As Object

Parameters

This method has no parameters.

Return Values

Returns a System.Object that contains the clone of the request. The clone should be subsequently cast as Request to obtain functionality.

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.

This method overrides Message.Clone.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also