Partager via


ServerNotFoundException

ServerNotFoundException

The ServerNotFoundException class defines an exception thrown when Microsoft Lync Server 2010 is not available to the application.

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

Public Methods

The ServerNotFoundException 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 ServerNotFoundException class has the following public properties.

Property

Description

HelpLink

Data type: String

Access type: Read/write

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

InnerException

Data type: Exception

Access type: Read-only

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

Message

Data type: String

Access type: Read-only

Gets a message that describes the current exception.

Source

Data type: String

Access type: Read/write

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

StackTrace

Data type: String

Access 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: MethodBase

Access 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)