Request.Clone ()

Request.Clone ()

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

Syntax

[C#]

public Object Clone();

Syntax

[Visual Basic .NET]

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

Concepts

Request.Clone (String)

Message.Clone

Request Sip Class