Aracılığıyla paylaş


ServiceCorsConfigurationInfo Constructors

Definition

Overloads

ServiceCorsConfigurationInfo()

Initializes a new instance of the ServiceCorsConfigurationInfo class.

ServiceCorsConfigurationInfo(IList<String>, IList<String>, IList<String>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the ServiceCorsConfigurationInfo class.

ServiceCorsConfigurationInfo()

Initializes a new instance of the ServiceCorsConfigurationInfo class.

public ServiceCorsConfigurationInfo ();
Public Sub New ()

Applies to

ServiceCorsConfigurationInfo(IList<String>, IList<String>, IList<String>, Nullable<Int32>, Nullable<Boolean>)

Initializes a new instance of the ServiceCorsConfigurationInfo class.

public ServiceCorsConfigurationInfo (System.Collections.Generic.IList<string> origins = default, System.Collections.Generic.IList<string> headers = default, System.Collections.Generic.IList<string> methods = default, int? maxAge = default, bool? allowCredentials = default);
new Microsoft.Azure.Management.HealthcareApis.Models.ServiceCorsConfigurationInfo : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.HealthcareApis.Models.ServiceCorsConfigurationInfo
Public Sub New (Optional origins As IList(Of String) = Nothing, Optional headers As IList(Of String) = Nothing, Optional methods As IList(Of String) = Nothing, Optional maxAge As Nullable(Of Integer) = Nothing, Optional allowCredentials As Nullable(Of Boolean) = Nothing)

Parameters

origins
IList<String>

The origins to be allowed via CORS.

headers
IList<String>

The headers to be allowed via CORS.

methods
IList<String>

The methods to be allowed via CORS.

maxAge
Nullable<Int32>

The max age to be allowed via CORS.

allowCredentials
Nullable<Boolean>

If credentials are allowed via CORS.

Applies to