Partilhar via


StorageTaskPreviewActionCondition Constructor

Definition

Initializes a new instance of StorageTaskPreviewActionCondition.

public StorageTaskPreviewActionCondition (Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewActionIfCondition if, bool elseBlockExists);
new Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewActionCondition : Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewActionIfCondition * bool -> Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewActionCondition
Public Sub New (if As StorageTaskPreviewActionIfCondition, elseBlockExists As Boolean)

Parameters

if
StorageTaskPreviewActionIfCondition

The condition to be tested for a match with container and blob properties.

elseBlockExists
Boolean

Specify whether the else block is present in the condition.

Exceptions

if is null.

Applies to