UnauthorizedException

The UnauthorizedException class defines an exception thrown when an unauthorized connection to the server is attempted.

The UnauthorizedException class is derived from the System.ApplicationException class.

Public Methods

The UnauthorizedException class has the following public methods.

Method

Description

Equals(Object)

Determines whether the specified System.Object is equal to the current System.Object.

GetBaseException()

When overridden in a derived class, returns the System.Exception that is the root cause of one or more subsequent exceptions.

GetHashCode()

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

GetObjectData(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

GetType()

Gets the System.Type of the current instance.

ToString()

Creates and returns a string representation of the current exception.

Public Properties

The UnauthorizedException class has the following public properties.

Property

Description

HelpLink

Data type: StringAccess type: Read/write

Gets or sets a link to the Help file associated with this exception.

InnerException

Data type: ExceptionAccess type: Read-only

Gets the System.Exception instance that caused the current exception.

Message

Data type: StringAccess type: Read-only

Gets a message that describes the current exception.

Source

Data type: StringAccess type: Read/write

Gets or sets the name of the application or the object that causes the error.

StackTrace

Data type: StringAccess type: Read-only

Gets a string representation of the frames on the call stack at the time the current exception was thrown.

TargetSite

Data type: MethodBaseAccess type: Read-only

Gets the method that throws the current exception.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)