CorsRule CorsRule CorsRule CorsRule CorsRule CorsRule Class

Definition

Class representing the service properties pertaining to CORS.

public ref class CorsRule sealed
public ref class CorsRule sealed
class CorsRule sealed
public sealed class CorsRule
type CorsRule = class
Public NotInheritable Class CorsRule
Inheritance
CorsRuleCorsRuleCorsRuleCorsRuleCorsRuleCorsRule

Constructors

CorsRule() CorsRule() CorsRule() CorsRule() CorsRule() CorsRule()

Properties

AllowedHeaders AllowedHeaders AllowedHeaders AllowedHeaders AllowedHeaders AllowedHeaders

Gets or sets headers allowed to be part of the CORS request.

AllowedMethods AllowedMethods AllowedMethods AllowedMethods AllowedMethods AllowedMethods

Gets or sets the HTTP methods permitted to execute for this origin.

AllowedOrigins AllowedOrigins AllowedOrigins AllowedOrigins AllowedOrigins AllowedOrigins

Gets or sets domain names allowed via CORS.

ExposedHeaders ExposedHeaders ExposedHeaders ExposedHeaders ExposedHeaders ExposedHeaders

Gets or sets response headers that should be exposed to client via CORS.

MaxAgeInSeconds MaxAgeInSeconds MaxAgeInSeconds MaxAgeInSeconds MaxAgeInSeconds MaxAgeInSeconds

Gets or sets the length of time in seconds that a preflight response should be cached by browser.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to