November Happy Hour will be moved to Thursday December 5th.

Class ApprovalEventArgs

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Arguments for an approval instance event.

Inheritance
System.Object
System.EventArgs
ApprovalEventArgs
Inherited Members
System.EventArgs.Empty
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: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ApprovalEventArgs : EventArgs

Constructors

ApprovalEventArgs(Int32, Int32, Uri, String, String, Boolean)

Creates instance of Approval event arguments class

Declaration
public ApprovalEventArgs(int approvalID, int definitionVersionID, Uri approvalReference, string username, string comment, bool forced)
Parameters
Type Name Description
System.Int32 approvalID

The identifier of the approval instance

System.Int32 definitionVersionID

The identifier of the approval definition version

System.Uri approvalReference

Approval key

System.String username

The name of the user

System.String comment

The comment on the approval event

System.Boolean forced

Flag specifying if the decision was forced

Properties

ApprovalID

The identifier of the approval instance.

Declaration
public int ApprovalID { get; }
Property Value
Type Description
System.Int32

ApprovalReference

Approval key.

Declaration
public Uri ApprovalReference { get; }
Property Value
Type Description
System.Uri

Comment

The comment of the user.

Declaration
public string Comment { get; }
Property Value
Type Description
System.String

DefinitionVersionID

The identifier of the approval definition version.

Declaration
public int DefinitionVersionID { get; }
Property Value
Type Description
System.Int32

Forced

Flag specifying if the decision was forced.

Declaration
public bool Forced { get; }
Property Value
Type Description
System.Boolean

Username

The name of the user.

Declaration
public string Username { get; }
Property Value
Type Description
System.String

Extension Methods