CorsResult Class
Results returned by CorsEngine.
Namespace: System.Web.Cors
Assembly: System.Web.Cors (in System.Web.Cors.dll)
Inheritance Hierarchy
System.Object
System.Web.Cors.CorsResult
Syntax
public class CorsResult
public ref class CorsResult
type CorsResult = class end
Public Class CorsResult
Constructors
Name | Description | |
---|---|---|
CorsResult() | Initializes a new instance of the CorsResult class. |
Properties
Name | Description | |
---|---|---|
AllowedExposedHeaders | Gets the allowed headers that can be exposed on the response. |
|
AllowedHeaders | Gets the allowed headers. |
|
AllowedMethods | Gets the allowed methods. |
|
AllowedOrigin | Gets or sets the allowed origin. |
|
ErrorMessages | Gets the error messages. |
|
IsValid | Gets a value indicating whether the result is valid. |
|
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. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToResponseHeaders() | Returns CORS-specific headers that should be added to the response. |
|
ToString() | Returns a String that represents this instance.(Overrides Object.ToString().) |
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.
See Also
Return to top