HttpMethods.IsTrace(String) 方法

定义

返回一个值,该值指示 HTTP 请求方法是否为 TRACE。

public:
 static bool IsTrace(System::String ^ method);
public static bool IsTrace (string method);
static member IsTrace : string -> bool
Public Shared Function IsTrace (method As String) As Boolean

参数

method
String

HTTP 请求方法。

返回

true 如果方法为 TRACE,则为 ;否则为 false

适用于