Share via


WsusInvalidServerException Constructor (String, Exception)

 

Applies To: Windows Server Update Services

Initializes a new instance of the WsusInvalidServerException 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 WsusInvalidServerException(
    string message,
    Exception innerException
)
public:
WsusInvalidServerException(
    String^ message,
    Exception^ innerException
)
new : 
        message:string *
        innerException:Exception -> WsusInvalidServerException
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

WsusInvalidServerException Overload
WsusInvalidServerException Class
Microsoft.UpdateServices.Administration Namespace

Return to top