WsusObjectAlreadyExistsException

This exception is thrown when the object already exists in the database.

The WsusObjectAlreadyExistsException class is derived from the System.Exception class.

Public Methods

The WsusObjectAlreadyExistsException class has the following public methods.

Method Description
Equals(Object)

Determines if the specified Object is equal to the current Object.

Equals(Object, Object)

Static (Shared). Determines whether the specified Object instances are considered equal.

GetBaseException()

Retrieves the Exception that is the root cause of one or more subsequent exceptions.

GetHashCode()

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

GetType()

Retrieves the Type of the current instance.

ToString()

Retrieves a string representation of the current exception.

Public Properties

The WsusObjectAlreadyExistsException class has the following public properties.

Property Description
HelpLink

Link to the help file that is associated with this exception.

InnerException

Exception instance that caused the current exception.

Message

Message that describes the current exception.

Source

Name of the application or the object that threw the exception.

StackTrace

String representation of the frames on the call stack at the time the current exception was thrown.

TargetSite

Method that threw the current exception.

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.