AssignEntity Class

 

Applies To: Dynamics CRM 2015

Activity used to assign a record to a new owner or routes it to a queue.

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.AssignEntity

Syntax

public sealed class AssignEntity : CodeActivity
public ref class AssignEntity sealed : CodeActivity
[<Sealed>]
type AssignEntity = 
    class
        inherit CodeActivity
    end
Public NotInheritable Class AssignEntity
    Inherits CodeActivity

Constructors

Name Description
System_CAPS_pubmethod AssignEntity()

Initializes a new instance of the AssignEntity class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

System_CAPS_pubproperty Entity

Gets the resulting record following the assignment to a new owner.

System_CAPS_pubproperty EntityId

Sets the ID of the record to assign.

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 Owner

Sets the new owner for the record.

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

© 2016 Microsoft. All rights reserved. Copyright