Class IdentifierValueMismatchedException
Thrown when the id of the data structure does not match the required record/document id.
Inheritance
Implements
Inherited Members
Namespace: TcOpen.Inxton.Data
Assembly: TcOpen.Inxton.Abstractions.dll
Syntax
public class IdentifierValueMismatchedException : Exception, ISerializable, _Exception
Constructors
| Improve this Doc View SourceIdentifierValueMismatchedException()
Declaration
public IdentifierValueMismatchedException()
IdentifierValueMismatchedException(SerializationInfo, StreamingContext)
Initializes a new instance of the IdentifierValueMismatchedException class with serialized data.
Declaration
protected IdentifierValueMismatchedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The |
System.Runtime.Serialization.SerializationException | The class name is null or System.Exception.HResult is zero (0). |
IdentifierValueMismatchedException(String)
Initializes a new instance of the IdentifierValueMismatchedException class with a specified error message.
Declaration
public IdentifierValueMismatchedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
IdentifierValueMismatchedException(String, Exception)
Initializes a new instance of the IdentifierValueMismatchedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public IdentifierValueMismatchedException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception, or a null reference (langword_csharp_Nothing in Visual Basic) if no inner exception is specified. |