IHttpMethodMetadata.AcceptCorsPreflight 属性

定义

返回一个值,该值指示关联的终结点是否应接受 CORS 预检请求。

public:
 property bool AcceptCorsPreflight { bool get(); };
public bool AcceptCorsPreflight { get; }
public virtual bool AcceptCorsPreflight { get; set; }
member this.AcceptCorsPreflight : bool
member this.AcceptCorsPreflight : bool with get, set
Public ReadOnly Property AcceptCorsPreflight As Boolean
Public Overridable Property AcceptCorsPreflight As Boolean

属性值

适用于