Aracılığıyla paylaş


ServiceCorsConfigurationInfo Class

Definition

The settings for the CORS configuration of the service instance.

public class ServiceCorsConfigurationInfo
type ServiceCorsConfigurationInfo = class
Public Class ServiceCorsConfigurationInfo
Inheritance
ServiceCorsConfigurationInfo

Constructors

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.

Properties

AllowCredentials

Gets or sets if credentials are allowed via CORS.

Headers

Gets or sets the headers to be allowed via CORS.

MaxAge

Gets or sets the max age to be allowed via CORS.

Methods

Gets or sets the methods to be allowed via CORS.

Origins

Gets or sets the origins to be allowed via CORS.

Methods

Validate()

Validate the object.

Applies to