Creates a new request based on this request with the specified target URI.
Assembly: ServerAgent(in ServerAgent.dll)
Syntax
Visual Basic (declaration) |
---|
Public Function Clone ( _ targetUri As String _ ) As Request |
Visual Basic (usage) |
---|
Dim instance As Request Dim targetUri As String Dim returnValue As Request returnValue = instance. Clone( targetUri) |
C# |
---|
public Request Clone( string targetUri ) |
Parameters
- targetUri
- Type:
System
.
.
::
.
.
String
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.