你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Job 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Job() |
初始化 Job 类的新实例。 |
Job(String, String, String, String, String, String, String, IList<KeyValuePair>, IList<JobExecutionReportDetails>) |
初始化 Job 类的新实例。 |
Job()
初始化 Job 类的新实例。
public Job();
Public Sub New ()
适用于
Job(String, String, String, String, String, String, String, IList<KeyValuePair>, IList<JobExecutionReportDetails>)
初始化 Job 类的新实例。
public Job(string id = default, string teamName = default, string status = default, string workflowId = default, string type = default, string callBackEndpoint = default, string reviewId = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.KeyValuePair> resultMetaData = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.JobExecutionReportDetails> jobExecutionReport = default);
new Microsoft.Azure.CognitiveServices.ContentModerator.Models.Job : string * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.KeyValuePair> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.JobExecutionReportDetails> -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.Job
Public Sub New (Optional id As String = Nothing, Optional teamName As String = Nothing, Optional status As String = Nothing, Optional workflowId As String = Nothing, Optional type As String = Nothing, Optional callBackEndpoint As String = Nothing, Optional reviewId As String = Nothing, Optional resultMetaData As IList(Of KeyValuePair) = Nothing, Optional jobExecutionReport As IList(Of JobExecutionReportDetails) = Nothing)
参数
- id
- String
作业 ID。
- teamName
- String
与作业关联的团队名称。
- status
- String
状态字符串 (<挂起、失败、已完成>) 。
- workflowId
- String
工作流的 ID。
- type
- String
内容类型。
- callBackEndpoint
- String
回调终结点。
- reviewId
- String
查看 ID(如果已创建)。
- resultMetaData
- IList<KeyValuePair>
KeyValue 对的数组。
- jobExecutionReport
- IList<JobExecutionReportDetails>
作业执行报告 - KeyValue 对对象的数组。