你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CloudTask.GetNodeFile(String, IEnumerable<BatchClientBehavior>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public Microsoft.Azure.Batch.NodeFile GetNodeFile (string filePath, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.GetNodeFile : string * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.NodeFile
Public Function GetNodeFile (filePath As String, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As NodeFile
参数
- filePath
- String
要检索的文件的路径。
- additionalBehaviors
- IEnumerable<BatchClientBehavior>
在 之后应用于 Batch 服务请求的实例集合BatchClientBehaviorCustomBehaviors。
返回
一个 NodeFile ,表示指定的文件。
注解
这是一个阻止操作。 有关非阻塞等效项,请参阅 GetNodeFileAsync(String, IEnumerable<BatchClientBehavior>, CancellationToken)。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈