Export (0) Print
Expand All
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.

  NameDescription
Public methodServerManagerException()()()()Initializes a new instance of the ServerManagerException class.
Public methodServerManagerException(String)Initializes a new instance of the ServerManagerException class that uses the specified error message.
Public methodServerManagerException(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 methodServerManagerException(String, Int32)Initializes a new instance of the ServerManagerException class that uses the specified error message and error code.
Public methodServerManagerException(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
  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyErrorCodeGets the error code that indicates the cause of the exception.
Public propertyHelpLink (Inherited from Exception.)
Protected propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringCreates and returns a string representation of the current exception. (Overrides Exception..::..ToString()()()().)
Top
  NameDescription
Explicit interface implemetationPrivate methodISerializableGetObjectDataReturns the 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)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.