WsusObjectAlreadyExistsException Constructor (String, Exception)
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)
Usage
Dim message As String
Dim innerException As Exception
Dim instance As New WsusObjectAlreadyExistsException(message, innerException)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public WsusObjectAlreadyExistsException (
string message,
Exception innerException
)
public:
WsusObjectAlreadyExistsException (
String^ message,
Exception^ innerException
)
public WsusObjectAlreadyExistsException (
String message,
Exception innerException
)
public function WsusObjectAlreadyExistsException (
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
WsusObjectAlreadyExistsException Class
WsusObjectAlreadyExistsException Members
Microsoft.UpdateServices.Administration Namespace