Bagikan melalui


HttpRequestMessage Konstruktor

Definisi

Menginisialisasi instans baru kelas HttpRequestMessage.

Overload

HttpRequestMessage()

Menginisialisasi instans baru kelas HttpRequestMessage.

HttpRequestMessage(HttpMethod, String)

Menginisialisasi instans HttpRequestMessage baru kelas dengan metode HTTP dan permintaan Uri.

HttpRequestMessage(HttpMethod, Uri)

Menginisialisasi instans HttpRequestMessage baru kelas dengan metode HTTP dan permintaan Uri.

HttpRequestMessage()

Sumber:
HttpRequestMessage.cs
Sumber:
HttpRequestMessage.cs
Sumber:
HttpRequestMessage.cs

Menginisialisasi instans baru kelas HttpRequestMessage.

public:
 HttpRequestMessage();
public HttpRequestMessage ();
Public Sub New ()

Berlaku untuk

HttpRequestMessage(HttpMethod, String)

Sumber:
HttpRequestMessage.cs
Sumber:
HttpRequestMessage.cs
Sumber:
HttpRequestMessage.cs

Menginisialisasi instans HttpRequestMessage baru kelas dengan metode HTTP dan permintaan Uri.

public:
 HttpRequestMessage(System::Net::Http::HttpMethod ^ method, System::String ^ requestUri);
public HttpRequestMessage (System.Net.Http.HttpMethod method, string requestUri);
public HttpRequestMessage (System.Net.Http.HttpMethod method, string? requestUri);
new System.Net.Http.HttpRequestMessage : System.Net.Http.HttpMethod * string -> System.Net.Http.HttpRequestMessage
Public Sub New (method As HttpMethod, requestUri As String)

Parameter

method
HttpMethod

Metode HTTP.

requestUri
String

String yang mewakili permintaan Uri.

Berlaku untuk

HttpRequestMessage(HttpMethod, Uri)

Sumber:
HttpRequestMessage.cs
Sumber:
HttpRequestMessage.cs
Sumber:
HttpRequestMessage.cs

Menginisialisasi instans HttpRequestMessage baru kelas dengan metode HTTP dan permintaan Uri.

public:
 HttpRequestMessage(System::Net::Http::HttpMethod ^ method, Uri ^ requestUri);
public HttpRequestMessage (System.Net.Http.HttpMethod method, Uri requestUri);
public HttpRequestMessage (System.Net.Http.HttpMethod method, Uri? requestUri);
new System.Net.Http.HttpRequestMessage : System.Net.Http.HttpMethod * Uri -> System.Net.Http.HttpRequestMessage
Public Sub New (method As HttpMethod, requestUri As Uri)

Parameter

method
HttpMethod

Metode HTTP.

requestUri
Uri

untuk Uri meminta.

Berlaku untuk