HttpMethodMetadata.AcceptCorsPreflight 属性

定义

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

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

属性值

实现

适用于