WebManagementServiceException Class

Definition

Represents an exception that is thrown when IIS Manager is unable to perform a requested operation.

public ref class WebManagementServiceException sealed : Exception
[System.Serializable]
public sealed class WebManagementServiceException : Exception
type WebManagementServiceException = class
    inherit Exception
    interface ISerializable
Public NotInheritable Class WebManagementServiceException
Inherits Exception
Inheritance
WebManagementServiceException
Attributes
Implements

Constructors

WebManagementServiceException()

Initializes a new instance of the WebManagementServiceException class.

WebManagementServiceException(String)

Initializes a new instance of the WebManagementServiceException class that uses the specified error message.

WebManagementServiceException(String, Exception)

Initializes a new instance of the WebManagementServiceException class that uses the specified error message and a reference to the inner exception that is the cause of this exception.

WebManagementServiceException(String, String)

Initializes a new instance of the WebManagementServiceException class that uses the specified error message and the resource name of the localized error message.

WebManagementServiceException(String, String, Exception)

Initializes a new instance of the WebManagementServiceException class that uses the specified error message, the resource name of the localized error message, and a reference to the inner exception that is the cause of this exception.

Properties

ResourceName

Gets the name of the resource that is used to show a localized error message.

Methods

ToString()

Creates and returns a string representation of the current exception.

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Returns the serialized object data about the exception.

Applies to