WsusInvalidDataException Constructor (String, Exception)
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)
Usage
Dim message As String
Dim innerException As Exception
Dim instance As New WsusInvalidDataException(message, innerException)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public WsusInvalidDataException (
string message,
Exception innerException
)
public:
WsusInvalidDataException (
String^ message,
Exception^ innerException
)
public WsusInvalidDataException (
String message,
Exception innerException
)
public function WsusInvalidDataException (
message : String,
innerException : Exception
)
Parameters
- message
The message that describes the error.
- innerException
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.
Platforms
Development Platforms
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
See Also
Reference
WsusInvalidDataException Class
WsusInvalidDataException Members
Microsoft.UpdateServices.Administration Namespace