CorsResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Results returned by ICorsService.
public ref class CorsResult
public class CorsResult
type CorsResult = class
Public Class CorsResult
- Inheritance
-
CorsResult
Constructors
CorsResult() |
Properties
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. |
IsOriginAllowed |
Gets or sets a value that determines if the origin is allowed.
When |
IsPreflightRequest |
Gets or sets a value that determines if the current request is a CORS-preflight request. |
PreflightMaxAge |
Gets or sets the TimeSpan for which the results of a preflight request can be cached. |
SupportsCredentials |
Gets or sets a value indicating whether the resource supports user credentials. |
VaryByOrigin |
Gets or sets a value indicating if a 'Vary' header with the value 'Origin' is required. |
Methods
ToString() |
Returns a String that represents this instance. |