Partilhar via


StorageTaskIfCondition Constructor

Definition

Initializes a new instance of StorageTaskIfCondition.

public StorageTaskIfCondition (string condition, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageActions.Models.StorageTaskOperationInfo> operations);
new Azure.ResourceManager.StorageActions.Models.StorageTaskIfCondition : string * seq<Azure.ResourceManager.StorageActions.Models.StorageTaskOperationInfo> -> Azure.ResourceManager.StorageActions.Models.StorageTaskIfCondition
Public Sub New (condition As String, operations As IEnumerable(Of StorageTaskOperationInfo))

Parameters

condition
String

Condition predicate to evaluate each object. See https://aka.ms/storagetaskconditions for valid properties and operators.

operations
IEnumerable<StorageTaskOperationInfo>

List of operations to execute when the condition predicate satisfies.

Exceptions

condition or operations is null.

Applies to