SaaS CMS has officially launched! Learn more now.

Class TriggerContext

Represent trigger context.

Inheritance
System.Object
TriggerContext
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Meta.Management
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class TriggerContext
Remarks

The TriggerContext.Current method allows to get information about trigger execution context.

Constructors

TriggerContext(Guid)

Initializes a new instance of the TriggerContext class.

Declaration
public TriggerContext(Guid transactionUid)
Parameters
Type Name Description
System.Guid transactionUid

The transaction uid.

Properties

Current

Gets or sets the current.

Declaration
public static TriggerContext Current { get; }
Property Value
Type Description
TriggerContext

The current.

Item[String]

Gets or sets the System.Object with the specified key.

Declaration
public object this[string key] { get; set; }
Parameters
Type Name Description
System.String key
Property Value
Type Description
System.Object

Parameter

Gets or sets the parameter.

Declaration
public TriggerParameter Parameter { get; set; }
Property Value
Type Description
TriggerParameter

The parameter.

TransactionId

Gets or sets the transaction uid.

Declaration
public Guid TransactionId { get; set; }
Property Value
Type Description
System.Guid

The transaction uid.

Trigger

Gets or sets the current job.

Declaration
public Trigger Trigger { get; set; }
Property Value
Type Description
Trigger

The current job.