แชร์ผ่าน


RetrieveEntity Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Retrieves a record.

Namespace:   Microsoft.Xrm.Sdk.Workflow.Activities
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

Inheritance Hierarchy

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Microsoft.Xrm.Sdk.Workflow.Activities.RetrieveEntity

Syntax

public sealed class RetrieveEntity : CodeActivity
Public NotInheritable Class RetrieveEntity
    Inherits CodeActivity

Constructors

Name Description
System_CAPS_pubmethod RetrieveEntity()

Initializes a new instance of the RetrieveEntity class.

Properties

Name Description
System_CAPS_pubproperty Attributes

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

System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

System_CAPS_pubproperty Entity

Gets the retrieved entity record.

System_CAPS_pubproperty EntityId

Sets the ID of the entity record to be retrieved.

System_CAPS_pubproperty EntityName

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

System_CAPS_pubproperty Id

(Inherited from Activity.)

System_CAPS_protproperty ImplementationVersion

(Inherited from CodeActivity.)

System_CAPS_pubproperty ThrowIfNotExists

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

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Activity.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Sdk.Workflow.Activities Namespace
Custom XAML workflows

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright