HttpRequestMessage.Method 속성

정의

요청 URI에서 수행할 HTTP 메서드를 가져오거나 설정합니다.

public:
 property HttpMethod ^ Method { HttpMethod ^ get(); void set(HttpMethod ^ value); };
HttpMethod Method();

void Method(HttpMethod value);
public HttpMethod Method { get; set; }
var httpMethod = httpRequestMessage.method;
httpRequestMessage.method = httpMethod;
Public Property Method As HttpMethod

속성 값

요청 URI에서 수행할 HTTP 메서드입니다.

설명

표준 HTTP 메서드에는 CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT 및 TRACE가 포함됩니다.

적용 대상