Share via


DisableCorsAttribute Classe

Définition

Interface qui peut être utilisée pour identifier un type qui fournit metdata pour désactiver cors pour une ressource.

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
Héritage
DisableCorsAttribute
Attributs
Implémente

Constructeurs

DisableCorsAttribute()

Interface qui peut être utilisée pour identifier un type qui fournit metdata pour désactiver cors pour une ressource.

Méthodes

ToString()

Interface qui peut être utilisée pour identifier un type qui fournit metdata pour désactiver cors pour une ressource.

S’applique à