ExecutionState Class

Definition

Abstract class for all the state needed to execute the engine.

public abstract class ExecutionState
type ExecutionState = class
Public MustInherit Class ExecutionState
Inheritance
ExecutionState

Remarks

Clients should only call the methods to obtain the state that is needed. Hence, for efficiency, clients may want tooverride this abstract class such that the corresponding state is computed dynamically instead of computing in advance.

Constructors

ExecutionState()

Methods

GetApplicationScenarioId()

Return an identifier which correlates application events with the corresponding protection service REST requests.

GetAuditMetadata()

Return a dictionary of application specific audit key-value pairs. Registered Key:Value pairs Sender: Email Id for the sender Recipients: Represents a JSON array of recipients for an email LastModifiedBy: Email Id for the user who last modified the content LastModifiedDate: Date the content was last modified

GetClassificationResults(List<ClassificationRequest>)

Return a map of classification results.

GetContentFormat()

The content format.

GetContentIdentifier()

The content description that describes the document. For a file: [path\filename]for an email: [Subject:Sender] This value is used by auditing as a human-readable description of the content

GetContentMetadata(List<String>, List<String>)

Get the meta-data items from the content.

GetContentMetadataVersion()

Gets the highest metadata version supported by the application for the tenant. If a file format supports multiple versions of metadata, this allows MIP to understand all metadata and report granular metadata changes on a per-version basis.

GetDataState()

The content state.

GetNewLabel()

The sensitivity label id that should be applied on the document.

GetNewLabelAssignmentMethod()

The new label's assignment method.

GetNewLabelExtendedProperties()

Label's extended properties.

GetProtectionDescriptor()

The rights management service protection descriptor.

GetSupportedActions()

a list of actions that the application supports, as a bitwise OR of all supported actions

IsDowngradeJustified(String)

Implementation should pass whether or not justification to downgrade an existing label was given.

Applies to