WsusInvalidDataException Constructor (String, Exception)
Applies To: Windows Server Update Services
Initializes a new instance of the WsusInvalidDataException 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 WsusInvalidDataException(
string message,
Exception innerException
)
public:
WsusInvalidDataException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> WsusInvalidDataException
Public Sub New (
message As String,
innerException As Exception
)
Parameters
message
Type: System.StringThe message that describes the error.
innerException
Type: System.ExceptionThe 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
WsusInvalidDataException Overload
WsusInvalidDataException Class
Microsoft.UpdateServices.Administration Namespace
Return to top