Share via


DisableCorsAttribute Class

Definition

An interface which can be used to identify a type which provides metdata to disable cors for a resource.

public ref class DisableCorsAttribute : Attribute, Microsoft::AspNetCore::Cors::Infrastructure::IDisableCorsAttribute
public ref class DisableCorsAttribute : Attribute, Microsoft::AspNetCore::Cors::Infrastructure::ICorsMetadata, Microsoft::AspNetCore::Cors::Infrastructure::IDisableCorsAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class DisableCorsAttribute : Attribute, Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class DisableCorsAttribute : Attribute, Microsoft.AspNetCore.Cors.Infrastructure.ICorsMetadata, Microsoft.AspNetCore.Cors.Infrastructure.IDisableCorsAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type DisableCorsAttribute = class
    inherit Attribute
    interface IDisableCorsAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type DisableCorsAttribute = class
    inherit Attribute
    interface ICorsMetadata
    interface IDisableCorsAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type DisableCorsAttribute = class
    inherit Attribute
    interface IDisableCorsAttribute
    interface ICorsMetadata
Public Class DisableCorsAttribute
Inherits Attribute
Implements IDisableCorsAttribute
Public Class DisableCorsAttribute
Inherits Attribute
Implements ICorsMetadata, IDisableCorsAttribute
Inheritance
DisableCorsAttribute
Attributes
Implements

Constructors

DisableCorsAttribute()

Methods

ToString() System.Attribute.ToString

Applies to