Class SagaNotFoundException<TSaga, TAuthenticationToken>
The ISaga<TAuthenticationToken> requested was not found.
Inheritance
System.Object
System.Exception
SagaNotFoundException<TSaga, TAuthenticationToken>
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Cqrs.Domain.Exceptions
Assembly: Cqrs.dll
Syntax
[Serializable]
public class SagaNotFoundException<TSaga, TAuthenticationToken> : Exception, ISerializable, _Exception where TSaga : ISaga<TAuthenticationToken>
Type Parameters
Name | Description |
---|---|
TSaga | The System.Type of the ISaga<TAuthenticationToken> that wasn't found. |
TAuthenticationToken | The System.Type of the authentication token. |
Constructors
SagaNotFoundException(Guid)
Instantiate a new instance of SagaNotFoundException<TSaga, TAuthenticationToken> with the provided identifier of the ISaga<TAuthenticationToken> that wasn't found.
Declaration
public SagaNotFoundException(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | The identifier of the ISaga<TAuthenticationToken> that wasn't found. |
Properties
Id
The identifier of the ISaga<TAuthenticationToken> that wasn't found.
Declaration
[DataMember]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
SagaType
The System.Type of the ISaga<TAuthenticationToken> that wasn't found.
Declaration
[DataMember]
public Type SagaType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |