共用方式為


CorsRule.AllowedMethods Property

Definition

Gets or sets required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.

[Newtonsoft.Json.JsonProperty(PropertyName="allowedMethods")]
public System.Collections.Generic.IList<string> AllowedMethods { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="allowedMethods")>]
member this.AllowedMethods : System.Collections.Generic.IList<string> with get, set
Public Property AllowedMethods As IList(Of String)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to