Share via


RetrieveEntity.ThrowIfNotExists Property

 

Applies To: Dynamics CRM 2015

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

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

Syntax

[RequiredArgumentAttribute]
public InArgument<bool> ThrowIfNotExists { get; set; }
public:
[RequiredArgumentAttribute]
property InArgument<bool>^ ThrowIfNotExists {
    InArgument<bool>^ get();
    void set(InArgument<bool>^ value);
}
[<RequiredArgumentAttribute>]
member ThrowIfNotExists : InArgument<bool> with get, set
<RequiredArgumentAttribute>
Public Property ThrowIfNotExists As InArgument(Of Boolean)

Property Value

Type: System.Activities.InArgument<Boolean>

Type: InArgument
Indicates whether the workflow should throw an exception if the entity record does not exist.

Remarks

If not specified, this property is true by default.

See Also

RetrieveEntity Class
Microsoft.Xrm.Sdk.Workflow.Activities Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright