Share via


CorsPolicyMetadata Class

Definition

Metadata that provides a CORS policy.

public ref class CorsPolicyMetadata : Microsoft::AspNetCore::Cors::Infrastructure::ICorsMetadata, Microsoft::AspNetCore::Cors::Infrastructure::ICorsPolicyMetadata
public class CorsPolicyMetadata : Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata, Microsoft.AspNetCore.Cors.Infrastructure.ICorsPolicyMetadata
type CorsPolicyMetadata = class
    interface ICorsMetadata
    interface ICorsPolicyMetadata
type CorsPolicyMetadata = class
    interface ICorsPolicyMetadata
    interface ICorsMetadata
Public Class CorsPolicyMetadata
Implements ICorsMetadata, ICorsPolicyMetadata
Inheritance
CorsPolicyMetadata
Implements

Constructors

CorsPolicyMetadata(CorsPolicy)

Creates a new instance of CorsPolicyMetadata using the specified policy.

Properties

Policy

The policy which needs to be applied.

Applies to