Share via


Create Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates a WebRequest instance.

Namespace:  System.Net
Assembly:  System.Http (in System.Http.dll)

Syntax

'Declaration
Function Create ( _
    uri As Uri _
) As WebRequest
WebRequest Create(
    Uri uri
)
WebRequest^ Create(
    Uri^ uri
)
abstract Create : 
        uri:Uri -> WebRequest 
function Create(
    uri : Uri
) : WebRequest

Parameters

Return Value

Type: System.Net. . :: . .WebRequest
A WebRequest instance.

Remarks

The Create method must return an initialized instance of the WebRequest descendant that is capable of performing a standard request/response transaction for the protocol without needing any protocol-specific fields modified.

.NET Framework Security

See Also

Reference

IWebRequestCreate Interface

System.Net Namespace