CorsSettings Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
CorsSettings() |
Initializes a new instance of the CorsSettings class. |
CorsSettings(IList<String>, Nullable<Boolean>) |
Initializes a new instance of the CorsSettings class. |
Initializes a new instance of the CorsSettings class.
public CorsSettings ();
Public Sub New ()
Applies to
Azure SDK for .NET Legacy
Produto | Versões |
---|---|
Azure SDK for .NET | Legacy |
Initializes a new instance of the CorsSettings class.
public CorsSettings (System.Collections.Generic.IList<string> allowedOrigins = default, bool? supportCredentials = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.CorsSettings : System.Collections.Generic.IList<string> * Nullable<bool> -> Microsoft.Azure.Management.AppService.Fluent.Models.CorsSettings
Public Sub New (Optional allowedOrigins As IList(Of String) = Nothing, Optional supportCredentials As Nullable(Of Boolean) = Nothing)
Parameters
Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all.
Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details.
Applies to
Azure SDK for .NET Legacy
Produto | Versões |
---|---|
Azure SDK for .NET | Legacy |
Comentários do Azure SDK for .NET
O Azure SDK for .NET é um projeto código aberto. Selecione um link para fornecer comentários: