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
[C#]
Copy Code | |
---|---|
public Request Clone( String targetUri ); |
Syntax
[Visual Basic .NET]
Copy Code | |
---|---|
Public Function Clone( _ ByVal targetUri As String _ ) As Request |
Parameters
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 Lync Server 2010
Namespace:Microsoft.Rtc.Sip
Assembly: ServerAgent (in ServerAgent.dll)