DiscoveryDataAbstractClassIdNotAllowedException 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 DiscoveryDataAbstractClassIdNotAllowedException class.
Overloads
DiscoveryDataAbstractClassIdNotAllowedException()
Initializes a new instance of the DiscoveryDataAbstractClassIdNotAllowedException class.
public:
DiscoveryDataAbstractClassIdNotAllowedException();
public DiscoveryDataAbstractClassIdNotAllowedException ();
Public Sub New ()
Applies to
DiscoveryDataAbstractClassIdNotAllowedException(Exception)
Initializes a new instance of the DiscoveryDataAbstractClassIdNotAllowedException class.
public:
DiscoveryDataAbstractClassIdNotAllowedException(Exception ^ inner);
public DiscoveryDataAbstractClassIdNotAllowedException (Exception inner);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException : Exception -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The exception that is the cause of the current exception.
Applies to
DiscoveryDataAbstractClassIdNotAllowedException(String)
Initializes a new instance of the DiscoveryDataAbstractClassIdNotAllowedException class together with the specified error message.
public:
DiscoveryDataAbstractClassIdNotAllowedException(System::String ^ message);
public DiscoveryDataAbstractClassIdNotAllowedException (string message);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException : string -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException
Public Sub New (message As String)
Parameters
- message
- String
The error message that states the reason for the current exception.
Applies to
DiscoveryDataAbstractClassIdNotAllowedException(SerializationInfo, StreamingContext)
Initializes a new instance of the DiscoveryDataAbstractClassIdNotAllowedException class together with serialized data.
protected:
DiscoveryDataAbstractClassIdNotAllowedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DiscoveryDataAbstractClassIdNotAllowedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException
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
DiscoveryDataAbstractClassIdNotAllowedException(String, Exception)
Initializes a new instance of the DiscoveryDataAbstractClassIdNotAllowedException class together with the specified message and a reference to the inner exception that is the cause of this exception.
public:
DiscoveryDataAbstractClassIdNotAllowedException(System::String ^ message, Exception ^ inner);
public DiscoveryDataAbstractClassIdNotAllowedException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException : string * Exception -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that states the reason for the current exception.
- inner
- Exception
The exception that is the cause of the current exception.
Applies to
DiscoveryDataAbstractClassIdNotAllowedException(Guid, Guid, String)
Initializes a new instance of the DiscoveryDataAbstractClassIdNotAllowedException class.
public:
DiscoveryDataAbstractClassIdNotAllowedException(Guid classId, Guid ruleId, System::String ^ instance);
public DiscoveryDataAbstractClassIdNotAllowedException (Guid classId, Guid ruleId, string instance);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException : Guid * Guid * string -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException
Public Sub New (classId As Guid, ruleId As Guid, instance As String)
Parameters
- classId
- Guid
The abstract class identifier of the entity.
- ruleId
- Guid
The GUID for the rule.
- instance
- String
The instance XML for the entity.