Class AuthorizationFailedException
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
The exception that occurs when an authorization attempt fails.
public class AuthorizationFailedException : Exception, ISerializable
- Inheritance
-
AuthorizationFailedException
- Implements
- Inherited Members
Properties
ErrorCode
Gets or sets the error code that describes the cause of authorization attempt failure.
public AuthorizationFailedException.FailureCode ErrorCode { get; }
Property Value
- AuthorizationFailedException.FailureCode
One of the values of theAuthorizationFailedException.FailureCode enumeration.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Populates a SerializationInfo object with the data needed to serialize the target object.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo object to populate with data.
context
StreamingContextThe destination (see StreamingContext) for this serialization.