HttpMethodMetadata.AcceptCorsPreflight 属性     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个值,该值指示关联的终结点是否应接受 CORS 预检请求。
public:
 property bool AcceptCorsPreflight { bool get(); };public bool AcceptCorsPreflight { get; set; }public bool AcceptCorsPreflight { get; }member this.AcceptCorsPreflight : bool with get, setmember this.AcceptCorsPreflight : boolPublic Property AcceptCorsPreflight As BooleanPublic ReadOnly Property AcceptCorsPreflight As Boolean