AuthenticationServiceAttribute Class
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Designates a domain service as an authentication service.
Inheritance Hierarchy
System.Object
System.Attribute
System.ServiceModel.DomainServices.DomainIdentifierAttribute
System.ServiceModel.DomainServices.Server.ApplicationServices.AuthenticationServiceAttribute
Namespace: System.ServiceModel.DomainServices.Server.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Interface, AllowMultiple := False, _
Inherited := True)> _
Public NotInheritable Class AuthenticationServiceAttribute _
Inherits DomainIdentifierAttribute
'Usage
Dim instance As AuthenticationServiceAttribute
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = false,
Inherited = true)]
public sealed class AuthenticationServiceAttribute : DomainIdentifierAttribute
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Interface, AllowMultiple = false,
Inherited = true)]
public ref class AuthenticationServiceAttribute sealed : public DomainIdentifierAttribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = false,
Inherited = true)>]
type AuthenticationServiceAttribute =
class
inherit DomainIdentifierAttribute
end
public final class AuthenticationServiceAttribute extends DomainIdentifierAttribute
The AuthenticationServiceAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AuthenticationServiceAttribute | Initializes a new instance of the AuthenticationServiceAttribute class. |
Top
Properties
Name | Description | |
---|---|---|
CodeProcessor | Gets or sets the CodeProcessor used during the DomainService code generation. (Inherited from DomainIdentifierAttribute.) | |
IsApplicationService | Gets or sets a value that indicates whether the attributed type represents an application service. (Inherited from DomainIdentifierAttribute.) | |
Name | Gets the name of the domain identifier. (Inherited from DomainIdentifierAttribute.) | |
TypeId | Gets the current DomainIdentifierAttribute object. (Inherited from DomainIdentifierAttribute.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Attribute.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Attribute.) | |
GetType | (Inherited from Object.) | |
IsDefaultAttribute | (Inherited from Attribute.) | |
Match | (Inherited from Attribute.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
_Attribute.GetIDsOfNames | (Inherited from Attribute.) | |
_Attribute.GetTypeInfo | (Inherited from Attribute.) | |
_Attribute.GetTypeInfoCount | (Inherited from Attribute.) | |
_Attribute.Invoke | (Inherited from Attribute.) |
Top
Remarks
This attribute is used to associate the authentication code processor with an implementation of the IAuthentication<T> interface.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
System.ServiceModel.DomainServices.Server.ApplicationServices Namespace