InvalidRelationshipObjectException Constructor (String, Exception, EntityObjectValidationErrorType, Guid)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Initializes a new instance of the InvalidRelationshipObjectException class using the specified error message, exception type, relationship type identifier, and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim message As String
Dim inner As Exception
Dim exceptionType As EntityObjectValidationErrorType
Dim relationshipTypeId As Guid
Dim instance As New InvalidRelationshipObjectException(message, inner, exceptionType, relationshipTypeId)
Syntax
'Declaration
Public Sub New ( _
message As String, _
inner As Exception, _
exceptionType As EntityObjectValidationErrorType, _
relationshipTypeId As Guid _
)
public InvalidRelationshipObjectException (
string message,
Exception inner,
EntityObjectValidationErrorType exceptionType,
Guid relationshipTypeId
)
public:
InvalidRelationshipObjectException (
String^ message,
Exception^ inner,
EntityObjectValidationErrorType exceptionType,
Guid relationshipTypeId
)
public InvalidRelationshipObjectException (
String message,
Exception inner,
EntityObjectValidationErrorType exceptionType,
Guid relationshipTypeId
)
public function InvalidRelationshipObjectException (
message : String,
inner : Exception,
exceptionType : EntityObjectValidationErrorType,
relationshipTypeId : Guid
)
Parameters
- message
The error message that states the current exception.
- inner
The exception that is the cause of the current exception.
- exceptionType
The type of the exception.
- relationshipTypeId
The relationship type identifier.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
InvalidRelationshipObjectException Class
InvalidRelationshipObjectException Members
Microsoft.EnterpriseManagement.Common Namespace