System::Net::WebRequest::Create method

WebRequest::Create(String) method

Creates a new instance of the WebRequest class using the specified URI.

static System::SharedPtr<WebRequest> System::Net::WebRequest::Create(String requestUriString)
ParameterTypeDescription
requestUriStringStringThe URI that is used to create a new instance of the WebRequest class.

ReturnValue

A newly created WebRequest-class instance.

See Also

WebRequest::Create(System::SharedPtr<Uri>) method

Creates a new instance of the WebRequest class using the specified URI.

static System::SharedPtr<WebRequest> System::Net::WebRequest::Create(System::SharedPtr<Uri> requestUri)
ParameterTypeDescription
requestUriSystem::SharedPtr<Uri>The URI that is used to create a new instance of the WebRequest class.

ReturnValue

A newly created WebRequest-class instance.

See Also