你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageTaskProperties(Boolean, String, StorageTaskAction) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of StorageTaskProperties.
public StorageTaskProperties(bool isEnabled, string description, Azure.ResourceManager.StorageActions.Models.StorageTaskAction action);
new Azure.ResourceManager.StorageActions.Models.StorageTaskProperties : bool * string * Azure.ResourceManager.StorageActions.Models.StorageTaskAction -> Azure.ResourceManager.StorageActions.Models.StorageTaskProperties
Public Sub New (isEnabled As Boolean, description As String, action As StorageTaskAction)
Parameters
- isEnabled
- Boolean
Storage Task is enabled when set to true and disabled when set to false.
- description
- String
Text that describes the purpose of the storage task.
- action
- StorageTaskAction
The storage task action that is executed.
Exceptions
description
or action
is null.