DiscoveryDataRelationshipNotAllowedException 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 DiscoveryDataRelationshipNotAllowedException object.
Overloads
DiscoveryDataRelationshipNotAllowedException() |
Initializes a new DiscoveryDataRelationshipNotAllowedException object. |
DiscoveryDataRelationshipNotAllowedException(Exception) |
Initializes a new DiscoveryDataRelationshipNotAllowedException object. |
DiscoveryDataRelationshipNotAllowedException(String) |
Initializes a new DiscoveryDataRelationshipNotAllowedException object. |
DiscoveryDataRelationshipNotAllowedException(SerializationInfo, StreamingContext) |
Initializes a new DiscoveryDataRelationshipNotAllowedException object. |
DiscoveryDataRelationshipNotAllowedException(String, Exception) |
Initializes a new DiscoveryDataRelationshipNotAllowedException object. |
DiscoveryDataRelationshipNotAllowedException(Guid, Guid, String) |
Obsolete.
Initializes a new DiscoveryDataRelationshipNotAllowedException object. |
DiscoveryDataRelationshipNotAllowedException(Guid, Guid, Guid, String) |
Initializes a new instance of the DiscoveryDataRelationshipNotAllowedException class using the specified parameters. |
DiscoveryDataRelationshipNotAllowedException()
Initializes a new DiscoveryDataRelationshipNotAllowedException object.
public:
DiscoveryDataRelationshipNotAllowedException();
public DiscoveryDataRelationshipNotAllowedException ();
Public Sub New ()
Applies to
DiscoveryDataRelationshipNotAllowedException(Exception)
Initializes a new DiscoveryDataRelationshipNotAllowedException object.
public:
DiscoveryDataRelationshipNotAllowedException(Exception ^ inner);
public DiscoveryDataRelationshipNotAllowedException (Exception inner);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException : Exception -> Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException
Public Sub New (inner As Exception)
Parameters
- inner
- Exception
The Exception instance that caused the current exception.
Applies to
DiscoveryDataRelationshipNotAllowedException(String)
Initializes a new DiscoveryDataRelationshipNotAllowedException object.
public:
DiscoveryDataRelationshipNotAllowedException(System::String ^ message);
public DiscoveryDataRelationshipNotAllowedException (string message);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException : string -> Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the current exception.
Applies to
DiscoveryDataRelationshipNotAllowedException(SerializationInfo, StreamingContext)
Initializes a new DiscoveryDataRelationshipNotAllowedException object.
protected:
DiscoveryDataRelationshipNotAllowedException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DiscoveryDataRelationshipNotAllowedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException
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
DiscoveryDataRelationshipNotAllowedException(String, Exception)
Initializes a new DiscoveryDataRelationshipNotAllowedException object.
public:
DiscoveryDataRelationshipNotAllowedException(System::String ^ message, Exception ^ inner);
public DiscoveryDataRelationshipNotAllowedException (string message, Exception inner);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException : string * Exception -> Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException
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
DiscoveryDataRelationshipNotAllowedException(Guid, Guid, String)
Caution
Use constructor that takes relationshipObjectId.
Initializes a new DiscoveryDataRelationshipNotAllowedException object.
public:
DiscoveryDataRelationshipNotAllowedException(Guid relationshipClassId, Guid ruleId, System::String ^ instance);
[System.Obsolete("Use constructor that takes relationshipObjectId.")]
public DiscoveryDataRelationshipNotAllowedException (Guid relationshipClassId, Guid ruleId, string instance);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException : Guid * Guid * string -> Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException
Public Sub New (relationshipClassId As Guid, ruleId As Guid, instance As String)
Parameters
- relationshipClassId
- Guid
The Relationship Class identifier.
- ruleId
- Guid
The GUID for the rule that caused the exception.
- instance
- String
The instance XML.
- Attributes
Remarks
This constructor is obsolete. Use the DiscoveryDataRelationshipNotAllowedException constructor instead.
Applies to
DiscoveryDataRelationshipNotAllowedException(Guid, Guid, Guid, String)
Initializes a new instance of the DiscoveryDataRelationshipNotAllowedException class using the specified parameters.
public:
DiscoveryDataRelationshipNotAllowedException(Guid relationshipClassId, Guid ruleId, Guid relationshipObjectId, System::String ^ instance);
public DiscoveryDataRelationshipNotAllowedException (Guid relationshipClassId, Guid ruleId, Guid relationshipObjectId, string instance);
new Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException : Guid * Guid * Guid * string -> Microsoft.EnterpriseManagement.Common.DiscoveryDataRelationshipNotAllowedException
Public Sub New (relationshipClassId As Guid, ruleId As Guid, relationshipObjectId As Guid, instance As String)
Parameters
- relationshipClassId
- Guid
The relationship class identifier.
- ruleId
- Guid
The GUID for the rule.
- relationshipObjectId
- Guid
The relationship identifier that caused the exception for the discovery data.
- instance
- String
The instance XML for the managed entity.