IdeaBlade DevForce 2010 Help Reference
AuthorizationAttribute Class
Members  See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.DomainServices Namespace : AuthorizationAttribute Class



Base class for authorization attributes.

Syntax

Visual Basic (Declaration) 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Class Or  _
    AttributeTargets.Method, 
   AllowMultiple=False, 
   Inherited=True)>
Public MustInherit Class AuthorizationAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
Visual Basic (Usage)Copy Code
Dim instance As AuthorizationAttribute
C# 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
public abstract class AuthorizationAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
C++/CLI 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Class | 
    AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
public ref class AuthorizationAttribute abstract : public System.Attribute, System.Runtime.InteropServices._Attribute  

Remarks

This class may be extended to create custom authorization attributes.

Inheritance Hierarchy

System.Object
   System.Attribute
      IdeaBlade.Core.DomainServices.AuthorizationAttribute
         IdeaBlade.Core.DomainServices.RequiresAuthenticationAttribute
         IdeaBlade.Core.DomainServices.RequiresRolesAttribute

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.