AuthorizationResult.ErrorMessage Property

[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.]

Gets the error message describing why authorization was denied.

Namespace:  System.ComponentModel.DataAnnotations
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Public ReadOnly Property ErrorMessage As String
    Get
'Usage
Dim instance As AuthorizationResult
Dim value As String

value = instance.ErrorMessage
public string ErrorMessage { get; }
public:
property String^ ErrorMessage {
    String^ get ();
}
member ErrorMessage : string
function get ErrorMessage () : String

Property Value

Type: System.String
The error message describing why authorization was denied.

See Also

Reference

AuthorizationResult Class

System.ComponentModel.DataAnnotations Namespace