CorsRequestContext Class

 

Provides access to CORS-specific information on the request.

Namespace:   System.Web.Cors
Assembly:  System.Web.Cors (in System.Web.Cors.dll)

System::Object
  System.Web.Cors::CorsRequestContext

public ref class CorsRequestContext 

NameDescription
System_CAPS_pubmethodCorsRequestContext()

Initializes a new instance of the CorsRequestContext class.

NameDescription
System_CAPS_pubpropertyAccessControlRequestHeaders

Gets the Access-Control-Request-Headers header value.

System_CAPS_pubpropertyAccessControlRequestMethod

Gets or sets the Access-Control-Request-Method header value.

System_CAPS_pubpropertyHost

Gets or sets the Host header value.

System_CAPS_pubpropertyHttpMethod

Gets or sets the request method.

System_CAPS_pubpropertyIsPreflight

Gets a value indicating whether this is a preflight request.

System_CAPS_pubpropertyOrigin

Gets or sets the Origin header value.

System_CAPS_pubpropertyProperties

Gets a set of properties for the CorsRequestContext.

System_CAPS_pubpropertyRequestUri

Gets or sets the request URI.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a String that represents this instance.(Overrides Object::ToString().)

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
Show: