Table of Contents

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 SerializationInfo

The SerializationInfo object to populate with data.

context StreamingContext

The destination (see StreamingContext) for this serialization.