NotAuthorizedException Class

.NET Framework 4.5

Represents an exception that is thrown when a client is not authorized to connect to a hub.

System::Object
  System::Exception
    Microsoft.AspNet.SignalR.Hubs::NotAuthorizedException

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

[SerializableAttribute]
public ref class NotAuthorizedException : public Exception

The NotAuthorizedException type exposes the following members.

  NameDescription
Public methodNotAuthorizedException()Initializes a new instance of the NotAuthorizedException class.
Public methodNotAuthorizedException(String)Initializes a new instance of the NotAuthorizedException class with error message.
Protected methodNotAuthorizedException(SerializationInfo, StreamingContext)Initializes a new instance of the NotAuthorizedException class with serialized data.
Public methodNotAuthorizedException(String, Exception)Initializes a new instance of the NotAuthorizedException class with error message and inner exception.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSecurity Critical. (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top

  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top

  NameDescription
Public Extension MethodGetError Simplifies error recognition by unwrapping complex exceptions. (Defined by ErrorExtensions.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: