你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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