共用方式為


CorsPolicy.AllowedOrigins Property

Definition

Gets or sets the origin domains that are permitted to make a request against the service via CORS.

[Newtonsoft.Json.JsonProperty(PropertyName="allowedOrigins")]
public string AllowedOrigins { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="allowedOrigins")>]
member this.AllowedOrigins : string with get, set
Public Property AllowedOrigins As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to