DiscoveryDataAbstractMonitoringClassIdNotAllowedException 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 DiscoveryDataAbstractMonitoringClassIdNotAllowedException object.
Overloads
DiscoveryDataAbstractMonitoringClassIdNotAllowedException()
Initializes a new DiscoveryDataAbstractMonitoringClassIdNotAllowedException object.
public:
DiscoveryDataAbstractMonitoringClassIdNotAllowedException();
public DiscoveryDataAbstractMonitoringClassIdNotAllowedException ();
Public Sub New ()
Applies to
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(DiscoveryDataAbstractClassIdNotAllowedException)
Initializes a new instance of the DiscoveryDataAbstractMonitoringClassIdNotAllowedException class by copying the values from the specified DiscoveryDataAbstractClassIdNotAllowedException exception.
public:
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(Microsoft::EnterpriseManagement::Common::DiscoveryDataAbstractClassIdNotAllowedException ^ ex);
public DiscoveryDataAbstractMonitoringClassIdNotAllowedException (Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException ex);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException : Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractClassIdNotAllowedException -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException
Public Sub New (ex As DiscoveryDataAbstractClassIdNotAllowedException)
Parameters
The exception to copy values from.
Applies to
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(Exception)
Initializes a new DiscoveryDataAbstractMonitoringClassIdNotAllowedException object by specifying an inner exception that caused the current exception.
public:
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(Exception ^ inner);
public DiscoveryDataAbstractMonitoringClassIdNotAllowedException (Exception inner);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException : Exception -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The Exception instance that caused the current exception.
Applies to
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(String)
Initializes a new DiscoveryDataAbstractMonitoringClassIdNotAllowedException object by specifying the error message that describes the current exception.
public:
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(System::String ^ message);
public DiscoveryDataAbstractMonitoringClassIdNotAllowedException (string message);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException : string -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the current exception.
Applies to
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(SerializationInfo, StreamingContext)
Initializes a new DiscoveryDataAbstractMonitoringClassIdNotAllowedException object with serialized data.
protected:
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DiscoveryDataAbstractMonitoringClassIdNotAllowedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext object that contains contextual information about the source or destination.
Remarks
This constructor is called during deserialization to reconstitute the exception object that is transmitted over a stream.
Applies to
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(String, Exception)
Initializes a new DiscoveryDataAbstractMonitoringClassIdNotAllowedException object with an error message and inner exception.
public:
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(System::String ^ message, Exception ^ inner);
public DiscoveryDataAbstractMonitoringClassIdNotAllowedException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException : string * Exception -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException
Public Sub New (message As String, inner As Exception)
Parameters
- message
- String
The error message that describes the current exception.
- inner
- Exception
The Exception instance that caused the current exception.
Applies to
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(Guid, Guid, String)
Initializes a new DiscoveryDataAbstractMonitoringClassIdNotAllowedException object.
public:
DiscoveryDataAbstractMonitoringClassIdNotAllowedException(Guid monitoringClassId, Guid ruleId, System::String ^ instance);
public DiscoveryDataAbstractMonitoringClassIdNotAllowedException (Guid monitoringClassId, Guid ruleId, string instance);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException : Guid * Guid * string -> Microsoft.EnterpriseManagement.Common.DiscoveryDataAbstractMonitoringClassIdNotAllowedException
Public Sub New (monitoringClassId As Guid, ruleId As Guid, instance As String)
Parameters
- monitoringClassId
- Guid
The monitoring Class identifier that caused the exception to be thrown.
- ruleId
- Guid
The GUID for the rule that caused the exception.
- instance
- String
The instance XML.