ActivityException Class

Represents errors that occur within activities of Scanjour.Workflow4.ActivityLibrary.

Definition

Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_24.4.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.4.0.0.dll) Version: 24.4.0.0 (24.4.0.0)
C#
[SerializableAttribute]
public sealed class ActivityException : Exception
Inheritance
Object    Exception    ActivityException

Constructors

ActivityException(ActivityErrorCode, Int32, String, Object) Initializes a new instance of the ActivityException class.
ActivityException(ActivityErrorCode, Int32, String, Exception, Object) Initializes a new instance of the ActivityException class.
ActivityException(ActivityErrorCode, Int32, String, String, Exception) Initializes a new instance of the ActivityException class.

Properties

DataGets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception)
ErrorCode Gets the code specying the nature of the problem causing the ActivityException to be thrown.
HelpLinkGets or sets a link to the help file associated with this exception.
(Inherited from Exception)
HResultGets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception)
InnerExceptionGets the Exception instance that caused the current exception.
(Inherited from Exception)
InstanceId Gets the guid (in string representation) of the workflow instance associated with the failure.
LocationCode Gets the unique throw location in the activity code.
MessageGets a message that describes the current exception.
(Inherited from Exception)
SourceGets or sets the name of the application or the object that causes the error.
(Inherited from Exception)
StackTraceGets a string representation of the immediate frames on the call stack.
(Inherited from Exception)
TargetSiteGets the method that throws the current exception.
(Inherited from Exception)

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetBaseExceptionWhen overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetObjectData Sets the SerializationInfo with information about the exception.
(Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext))
GetTypeGets the runtime type of the current instance.
(Inherited from Exception)
ToString Returns a string representation of the ActivityException.
(Overrides ExceptionToString)

Extension Methods

See Also