Zdieľať cez


RetrieveEntity.ThrowIfNotExists Property

Definition

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

public:
 property System::Activities::InArgument<bool> ^ ThrowIfNotExists { System::Activities::InArgument<bool> ^ get(); void set(System::Activities::InArgument<bool> ^ value); };
[System.Activities.RequiredArgument]
[System.ComponentModel.Description("Whether the activity will throw if the given entity does not exists. True by default.")]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Visible)]
public System.Activities.InArgument<bool> ThrowIfNotExists { get; set; }
[<System.Activities.RequiredArgument>]
[<System.ComponentModel.Description("Whether the activity will throw if the given entity does not exists. True by default.")>]
[<System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Visible)>]
member this.ThrowIfNotExists : System.Activities.InArgument<bool> with get, set
Public Property ThrowIfNotExists As InArgument(Of Boolean)

Property Value

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

Attributes

Remarks

If not specified, this property is true by default.

Applies to