HttpMethod(String) Oluşturucu

Tanım

Sınıfın HttpMethod yeni bir örneğini belirli bir HTTP yöntemiyle başlatır.

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

Parametreler

method
String

HTTP yöntemi.

Açıklamalar

Bir uygulamanın STATIK özelliklerden birinden HTTP yöntemi için farklı bir değere ihtiyacı varsa oluşturucu, HttpMethod uygulamasının belirttiği bir HTTP yöntemiyle öğesinin yeni bir örneğini HttpMethod başlatır.

Şunlara uygulanır