Compartir a través de


WsusObjectNotFoundException Constructor (String, Exception)

 

Applies To: Windows Server Update Services

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

WsusObjectNotFoundException Overload
WsusObjectNotFoundException Class
Microsoft.UpdateServices.Administration Namespace

Return to top