CreateDefault()

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

Creates a WebRequest descendant for the specified URI scheme.

static System::SharedPtr<WebRequest> System::Net::WebRequest::CreateDefault(System::SharedPtr<Uri> requestUri)

Arguments

ParameterTypeDescription
requestUriSystem::SharedPtr<Uri>The URI that is used to create a new instance of the WebRequest class.

Return Value

A newly created WebRequest-class instance.

See Also