CorsPolicy Class
Defines the policy for Cross-Origin requests based on the CORS specifications.
Assembly: System.Web.Cors (in System.Web.Cors.dll)
| Name | Description | |
|---|---|---|
![]() | CorsPolicy() | Initializes a new instance of the CorsPolicy class. |
| Name | Description | |
|---|---|---|
![]() | AllowAnyHeader | Gets or sets a value indicating whether to allow all headers. |
![]() | AllowAnyMethod | Gets or sets a value indicating whether to allow all methods. |
![]() | AllowAnyOrigin | Gets or sets a value indicating whether to allow all origins. |
![]() | ExposedHeaders | Gets the headers that the resource might use and can be exposed. |
![]() | Headers | Gets the headers that are supported by the resource. |
![]() | Methods | Gets the methods that are supported by the resource. |
![]() | Origins | Gets the origins that are allowed to access the resource. |
![]() | PreflightMaxAge | Gets or sets the number of seconds the results of a preflight request can be cached. |
![]() | SupportsCredentials | Gets or sets a value indicating whether the resource supports user credentials in the request. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | 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.


