
ExceptionRaisedMessage
Represents a message that notifies a system about a raised exception.
Inherited Members
Namespace: RapidField.SolidInstruments.Messaging.EventMessages
Assembly: RapidField.SolidInstruments.Messaging.dll
Syntax (C#)
[DataContract]
public class ExceptionRaisedMessage : ApplicationEventMessage, IMessage, IMessage<Nix>, IMessageBase, ICommand, ICommand<Nix>, ICommandBase
Constructors
ExceptionRaisedMessage()
Initializes a new instance of the ExceptionRaisedMessage class.
Declaration (C#)
public ExceptionRaisedMessage()
ExceptionRaisedMessage(Exception)
Initializes a new instance of the ExceptionRaisedMessage class.
Declaration (C#)
public ExceptionRaisedMessage(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | An object representing the reportable event. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ExceptionRaisedMessage(Exception, ApplicationEventVerbosity)
Initializes a new instance of the ExceptionRaisedMessage class.
Declaration (C#)
public ExceptionRaisedMessage(Exception exception, ApplicationEventVerbosity verbosity)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | An object representing the reportable event. |
ApplicationEventVerbosity | verbosity | The verbosity level associated with the event. The default value is Normal. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentOutOfRangeException |
|
ExceptionRaisedMessage(Exception, ApplicationEventVerbosity, Guid)
Initializes a new instance of the ExceptionRaisedMessage class.
Declaration (C#)
public ExceptionRaisedMessage(Exception exception, ApplicationEventVerbosity verbosity, Guid correlationIdentifier)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | An object representing the reportable event. |
ApplicationEventVerbosity | verbosity | The verbosity level associated with the event. The default value is Normal. |
Guid | correlationIdentifier | A unique identifier that is assigned to related messages. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentOutOfRangeException |
|
ExceptionRaisedMessage(Exception, ApplicationEventVerbosity, Guid, Guid)
Initializes a new instance of the ExceptionRaisedMessage class.
Declaration (C#)
public ExceptionRaisedMessage(Exception exception, ApplicationEventVerbosity verbosity, Guid correlationIdentifier, Guid identifier)
Parameters
Type | Name | Description |
---|---|---|
Exception | exception | An object representing the reportable event. |
ApplicationEventVerbosity | verbosity | The verbosity level associated with the event. The default value is Normal. |
Guid | correlationIdentifier | A unique identifier that is assigned to related messages. |
Guid | identifier | A unique identifier for the message. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ArgumentOutOfRangeException |
|