Share via


RetrieveEntity Class

Definition

Creates a new entity instance.

public ref class RetrieveEntity sealed : System::Activities::CodeActivity
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2117:AptcaTypesShouldOnlyExtendAptcaBaseTypes", Justification="Workflow foundation classes are not marked as aptca(Without PU3).")]
public sealed class RetrieveEntity : System.Activities.CodeActivity
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2117:AptcaTypesShouldOnlyExtendAptcaBaseTypes", Justification="Workflow foundation classes are not marked as aptca(Without PU3).")>]
type RetrieveEntity = class
    inherit CodeActivity
Public NotInheritable Class RetrieveEntity
Inherits CodeActivity
Inheritance
RetrieveEntity
Attributes

Constructors

RetrieveEntity()

Initializes a new instance of the RetrieveEntity class.

Properties

Attributes

Sets the collection of logical names of the attributes to be retrieved.

Entity

Gets the retrieved entity record.

EntityId

Sets the ID of the entity record to be retrieved.

EntityName

Set the logical name of the entity specified by the EntityId property.

ThrowIfNotExists

Sets whether the workflow should throw an exception if the entity record does not exist.

Applies to