Request.Clone Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Clone() |
Creates a new request based on this request. |
Clone(String) |
Creates a new request based on this request with the specified target URI. |
Clone()
Creates a new request based on this request.
public:
Microsoft::Rtc::Sip::Request ^ Clone();
public Microsoft.Rtc.Sip.Request Clone ();
Public Function Clone () As Request
Returns
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.
Applies to
Clone(String)
Creates a new request based on this request with the specified target URI.
public:
Microsoft::Rtc::Sip::Request ^ Clone(System::String ^ targetUri);
public Microsoft.Rtc.Sip.Request Clone (string targetUri);
Public Function Clone (targetUri As String) As Request
Parameters
- targetUri
- String
Returns
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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for