Class EntitySaveFailedException
Exception representing the failure to save a reactive entity.
Inheritance
Namespace: Reaqtor.QueryEngine
Assembly: Reaqtor.QueryEngine.dll
Syntax
public class EntitySaveFailedException : Exception
Constructors
EntitySaveFailedException()
Creates a new instance of the EntitySaveFailedException type.
Declaration
public EntitySaveFailedException()
EntitySaveFailedException(SerializationInfo, StreamingContext)
Creates a new instance of the EntitySaveFailedException type from serialized state.
Declaration
protected EntitySaveFailedException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | Serialization info to obtain the exception data from. |
| System.Runtime.Serialization.StreamingContext | context | Streaming context to obtain the exception data from. |
EntitySaveFailedException(String)
Creates a new EntitySaveFailedException instance with the specified message.
Declaration
public EntitySaveFailedException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message on the exception. |
EntitySaveFailedException(String, Exception)
Creates a new EntitySaveFailedException instance with the specified message and the specified innerException.
Declaration
public EntitySaveFailedException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | message | The message on the exception. |
| System.Exception | innerException | The inner exception. |
EntitySaveFailedException(Uri, ReactiveEntityKind)
Creates a new instance of the EntitySaveFailedException type for the entity with the specified URI and entity kind.
Declaration
public EntitySaveFailedException(Uri uri, ReactiveEntityKind type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Uri | uri | URI identifying the entity that failed to be saved. |
| ReactiveEntityKind | type | Reactive entity kind of the entity that failed to be saved. |
EntitySaveFailedException(Uri, ReactiveEntityKind, Exception)
Creates a new instance of the EntitySaveFailedException type for the entity with the specified URI and entity kind, including an inner exception.
Declaration
public EntitySaveFailedException(Uri uri, ReactiveEntityKind type, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Uri | uri | URI identifying the entity that failed to be saved. |
| ReactiveEntityKind | type | Reactive entity kind of the entity that failed to be saved. |
| System.Exception | inner | Exception that caused the entity save failure. |
Properties
EntityType
Gets the reactive entity kind of the entity that failed to be saved.
Declaration
public ReactiveEntityKind EntityType { get; }
Property Value
| Type | Description |
|---|---|
| ReactiveEntityKind |
EntityUri
Gets URI identifying the entity that failed to be saved.
Declaration
public Uri EntityUri { get; }
Property Value
| Type | Description |
|---|---|
| System.Uri |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the System.Runtime.Serialization.SerializationInfo object with the parameter name and additional exception information.
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | The object that holds the serialized object data. |
| System.Runtime.Serialization.StreamingContext | context | The contextual information about the source or destination. |