WsusObjectAlreadyExistsException Constructor (String, Exception)

 

Applies To: Windows Server Update Services

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

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public WsusObjectAlreadyExistsException(
    string message,
    Exception innerException
)
public:
WsusObjectAlreadyExistsException(
    String^ message,
    Exception^ innerException
)
new : 
        message:string *
        innerException:Exception -> WsusObjectAlreadyExistsException
Public Sub New (
    message As String,
    innerException As Exception
)

Parameters

  • message
    Type: System.String

    The message that describes the error.

  • innerException
    Type: System.Exception

    The exception that is the cause of the current exception. If the innerException parameter is not null (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

See Also

WsusObjectAlreadyExistsException Overload
WsusObjectAlreadyExistsException Class
Microsoft.UpdateServices.Administration Namespace

Return to top