This topic has not yet been rated - Rate this topic

ServerManagerException Class

IIS 7.0

The exception that is thrown when the server manager is unable to perform a requested operation.

System..::..Object
  System..::..Exception
    Microsoft.Web.Administration..::..ServerManagerException

Namespace:  Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
[SerializableAttribute]
public sealed class ServerManagerException : Exception, 
	ISerializable

The ServerManagerException type exposes the following members.

  Name Description
Public method ServerManagerException()()()() Initializes a new instance of the ServerManagerException class.
Public method ServerManagerException(String) Initializes a new instance of the ServerManagerException class that uses the specified error message.
Public method ServerManagerException(String, Exception) Initializes a new instance of the ServerManagerException class that uses the specified error message and a reference to the inner exception that is the cause of this exception.
Public method ServerManagerException(String, Int32) Initializes a new instance of the ServerManagerException class that uses the specified error message and error code.
Public method ServerManagerException(String, Exception, Int32) Initializes a new instance of the ServerManagerException class that uses the specified error message, a reference to the inner exception that is the cause of this exception, and the specified error code.
Top
  Name Description
Public property Data (Inherited from Exception.)
Public property ErrorCode Gets the error code that indicates the cause of the exception.
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Creates and returns a string representation of the current exception. (Overrides Exception..::..ToString()()()().)
Top
  Name Description
Explicit interface implemetation Private method ISerializable..::..GetObjectData Returns the System.Runtime.Serialization..::..SerializationInfo object that has information about the exception
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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ