Share via


WindowsAzureHostingPermissionAttribute, classe

 

Espace de noms:   Microsoft.WindowsAzure.ServiceRuntime
Assembly:  Microsoft.WindowsAzure.ServiceRuntime (dans Microsoft.WindowsAzure.ServiceRuntime.dll)

Hiérarchie d'héritage

System.Object
  System.Attribute
    System.Security.Permissions.SecurityAttribute
      System.Security.Permissions.CodeAccessSecurityAttribute
        Microsoft.WindowsAzure.ServiceRuntime.WindowsAzureHostingPermissionAttribute

Syntaxe

[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method, 
    AllowMultiple = true, Inherited = false)]
public sealed class WindowsAzureHostingPermissionAttribute : CodeAccessSecurityAttribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets::Assembly | AttributeTargets::Class | AttributeTargets::Struct | AttributeTargets::Constructor | AttributeTargets::Method, 
    AllowMultiple = true, Inherited = false)]
public ref class WindowsAzureHostingPermissionAttribute sealed : CodeAccessSecurityAttribute
[<Sealed>]
[<SerializableAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Constructor | AttributeTargets.Method,
    AllowMultiple = true, Inherited = false)>]
type WindowsAzureHostingPermissionAttribute = 
    class
        inherit CodeAccessSecurityAttribute
    end
<SerializableAttribute>
<AttributeUsageAttribute(AttributeTargets.Assembly Or AttributeTargets.Class Or AttributeTargets.Struct Or AttributeTargets.Constructor Or AttributeTargets.Method,
    AllowMultiple := True, Inherited := False)>
Public NotInheritable Class WindowsAzureHostingPermissionAttribute
    Inherits CodeAccessSecurityAttribute

Constructeurs

Nom Description
System_CAPS_pubmethod WindowsAzureHostingPermissionAttribute(SecurityAction)

Propriétés

Nom Description
System_CAPS_pubproperty Action

(Hérité de SecurityAttribute.)

System_CAPS_pubproperty TypeId

(Hérité de Attribute.)

System_CAPS_pubproperty Unrestricted

(Hérité de SecurityAttribute.)

Méthodes

Nom Description
System_CAPS_pubmethod CreatePermission()

(Remplace SecurityAttribute.CreatePermission().)

System_CAPS_pubmethod Equals(Object)

(Hérité de Attribute.)

System_CAPS_pubmethod GetHashCode()

(Hérité de Attribute.)

System_CAPS_pubmethod GetType()

(Hérité de Object.)

System_CAPS_pubmethod IsDefaultAttribute()

(Hérité de Attribute.)

System_CAPS_pubmethod Match(Object)

(Hérité de Attribute.)

System_CAPS_pubmethod ToString()

(Hérité de Object.)

Implémentations d'interface explicite

Nom Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

(Hérité de Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

(Hérité de Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.GetTypeInfoCount(UInt32)

(Hérité de Attribute.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

(Hérité de Attribute.)

Sécurité des threads

Tous les membres statiques (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.

Voir aussi

Microsoft.WindowsAzure.ServiceRuntime, espace de noms

Retour au début