Storage Client Library for Windows Runtime (Version 7.0)

Microsoft.WindowsAzure.Storage.Queue

CorsRule Class (Microsoft.WindowsAzure.Storage.Shared.Protocol)

Class representing the service properties pertaining to CORS.

Namespace:   Microsoft.WindowsAzure.Storage.Shared.Protocol
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Inheritance Hierarchy

System.::..Object
  Microsoft.WindowsAzure.Storage.Shared.Protocol.::..CorsRule

Syntax

 
public sealed class CorsRule
 
public ref class CorsRule sealed 
 
[<Sealed>]
type CorsRule = class end
 
Public NotInheritable Class CorsRule

Constructors

NameDescription
System_CAPS_pubmethodCorsRule()()()()

Properties

NameDescription
System_CAPS_pubpropertyAllowedHeadersAllowedHeadersAllowedHeadersAllowedHeaders

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

System_CAPS_pubpropertyAllowedMethodsAllowedMethodsAllowedMethodsAllowedMethods

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

System_CAPS_pubpropertyAllowedOriginsAllowedOriginsAllowedOriginsAllowedOrigins

Gets or sets domain names allowed via CORS.

System_CAPS_pubpropertyExposedHeadersExposedHeadersExposedHeadersExposedHeaders

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

System_CAPS_pubpropertyMaxAgeInSecondsMaxAgeInSecondsMaxAgeInSecondsMaxAgeInSeconds

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

Methods

NameDescription
System_CAPS_pubmethodEquals(Object)(Object^)(Object)(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()()()()

(Inherited from Object.)

System_CAPS_pubmethodGetType()()()()

(Inherited from Object.)

System_CAPS_pubmethodToString()()()()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top