DiscoveryDataClassPropertyValueAlreadyExistsException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DiscoveryDataClassPropertyValueAlreadyExistsException class.
Overloads
DiscoveryDataClassPropertyValueAlreadyExistsException()
Initializes a new instance of the DiscoveryDataClassPropertyValueAlreadyExistsException class.
public:
DiscoveryDataClassPropertyValueAlreadyExistsException();
public DiscoveryDataClassPropertyValueAlreadyExistsException ();
Public Sub New ()
Applies to
DiscoveryDataClassPropertyValueAlreadyExistsException(Exception)
Initializes a new instance of the DiscoveryDataClassPropertyValueAlreadyExistsException class together with a reference to the inner exception that is the cause of this exception.
public:
DiscoveryDataClassPropertyValueAlreadyExistsException(Exception ^ inner);
public DiscoveryDataClassPropertyValueAlreadyExistsException (Exception inner);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException : Exception -> Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The exception that is the cause of the current exception.
Applies to
DiscoveryDataClassPropertyValueAlreadyExistsException(String)
Initializes a new instance of the DiscoveryDataClassPropertyValueAlreadyExistsException class together with a specified error message.
public:
DiscoveryDataClassPropertyValueAlreadyExistsException(System::String ^ message);
public DiscoveryDataClassPropertyValueAlreadyExistsException (string message);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException : string -> Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException
Public Sub New (message As String)
Parameters
- message
- String
The error message that states the current exception.
Applies to
DiscoveryDataClassPropertyValueAlreadyExistsException(SerializationInfo, StreamingContext)
Initializes a new instance of the DiscoveryDataClassPropertyValueAlreadyExistsException class together with serialized data.
protected:
DiscoveryDataClassPropertyValueAlreadyExistsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DiscoveryDataClassPropertyValueAlreadyExistsException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The object that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The object that contains contextual information about the source or destination.
Applies to
DiscoveryDataClassPropertyValueAlreadyExistsException(String, Exception)
Initializes a new instance of the DiscoveryDataClassPropertyValueAlreadyExistsException class together with a specified error message and a reference to the inner exception that is the cause of this exception.
public:
DiscoveryDataClassPropertyValueAlreadyExistsException(System::String ^ message, Exception ^ inner);
public DiscoveryDataClassPropertyValueAlreadyExistsException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException : string * Exception -> Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that states the current exception.
- inner
- Exception
The exception that is the cause of the current exception.
Applies to
DiscoveryDataClassPropertyValueAlreadyExistsException(String, Guid, String)
Initializes a new instance of the DiscoveryDataClassPropertyValueAlreadyExistsException class.
public:
DiscoveryDataClassPropertyValueAlreadyExistsException(System::String ^ classPropertyName, Guid ruleId, System::String ^ instance);
public DiscoveryDataClassPropertyValueAlreadyExistsException (string classPropertyName, Guid ruleId, string instance);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException : string * Guid * string -> Microsoft.EnterpriseManagement.Common.DiscoveryDataClassPropertyValueAlreadyExistsException
Public Sub New (classPropertyName As String, ruleId As Guid, instance As String)
Parameters
- classPropertyName
- String
The property name with the duplicate value.
- ruleId
- Guid
The GUID for the rule.
- instance
- String
The instance XML.