azure-docs-sdk-java/archive/docs-ref-autogen/com.microsoft.azure.batch.p...

126 строки
6.4 KiB
YAML

### YamlMime:JavaType
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
methods:
- fullName: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.category()
name: category()
nameWithType: TaskFailureInformation.category()
returns:
description: <p>the category value </p>
type: <xref href="com.microsoft.azure.batch.protocol.models.ErrorCategory?alt=com.microsoft.azure.batch.protocol.models.ErrorCategory&text=ErrorCategory" data-throw-if-not-resolved="False"/>
summary: >-
<p>Get possible values include: 'userError', 'serverError'.</p>
<p></p>
syntax: public ErrorCategory category()
uid: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.category()
- fullName: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.code()
name: code()
nameWithType: TaskFailureInformation.code()
returns:
description: <p>the code value </p>
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Get the code value.</p>
<p></p>
syntax: public String code()
uid: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.code()
- fullName: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.details()
name: details()
nameWithType: TaskFailureInformation.details()
returns:
description: <p>the details value </p>
type: List&lt;<xref href="com.microsoft.azure.batch.protocol.models.NameValuePair?alt=com.microsoft.azure.batch.protocol.models.NameValuePair&text=NameValuePair" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Get the details value.</p>
<p></p>
syntax: public List<NameValuePair> details()
uid: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.details()
- fullName: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.message()
name: message()
nameWithType: TaskFailureInformation.message()
returns:
description: <p>the message value </p>
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
summary: >-
<p>Get the message value.</p>
<p></p>
syntax: public String message()
uid: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.message()
- fullName: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.withCategory(ErrorCategory category)
name: withCategory(ErrorCategory category)
nameWithType: TaskFailureInformation.withCategory(ErrorCategory category)
parameters:
- description: <p>the category value to set </p>
name: category
type: <xref href="com.microsoft.azure.batch.protocol.models.ErrorCategory?alt=com.microsoft.azure.batch.protocol.models.ErrorCategory&text=ErrorCategory" data-throw-if-not-resolved="False"/>
returns:
description: <p>the TaskFailureInformation object itself. </p>
type: <xref href="com.microsoft.azure.batch.protocol.models.TaskFailureInformation?alt=com.microsoft.azure.batch.protocol.models.TaskFailureInformation&text=TaskFailureInformation" data-throw-if-not-resolved="False"/>
summary: >-
<p>Set possible values include: 'userError', 'serverError'.</p>
<p></p>
syntax: public TaskFailureInformation withCategory(ErrorCategory category)
uid: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.withCategory(ErrorCategory)
- fullName: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.withCode(String code)
name: withCode(String code)
nameWithType: TaskFailureInformation.withCode(String code)
parameters:
- description: <p>the code value to set </p>
name: code
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>the TaskFailureInformation object itself. </p>
type: <xref href="com.microsoft.azure.batch.protocol.models.TaskFailureInformation?alt=com.microsoft.azure.batch.protocol.models.TaskFailureInformation&text=TaskFailureInformation" data-throw-if-not-resolved="False"/>
summary: >-
<p>Set the code value.</p>
<p></p>
syntax: public TaskFailureInformation withCode(String code)
uid: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.withCode(String)
- fullName: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.withDetails(List<NameValuePair> details)
name: withDetails(List<NameValuePair> details)
nameWithType: TaskFailureInformation.withDetails(List<NameValuePair> details)
parameters:
- description: <p>the details value to set </p>
name: details
type: List&lt;<xref href="com.microsoft.azure.batch.protocol.models.NameValuePair?alt=com.microsoft.azure.batch.protocol.models.NameValuePair&text=NameValuePair" data-throw-if-not-resolved="False"/>&gt;
returns:
description: <p>the TaskFailureInformation object itself. </p>
type: <xref href="com.microsoft.azure.batch.protocol.models.TaskFailureInformation?alt=com.microsoft.azure.batch.protocol.models.TaskFailureInformation&text=TaskFailureInformation" data-throw-if-not-resolved="False"/>
summary: >-
<p>Set the details value.</p>
<p></p>
syntax: public TaskFailureInformation withDetails(List<NameValuePair> details)
uid: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.withDetails(List<NameValuePair>)
- fullName: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.withMessage(String message)
name: withMessage(String message)
nameWithType: TaskFailureInformation.withMessage(String message)
parameters:
- description: <p>the message value to set </p>
name: message
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>the TaskFailureInformation object itself. </p>
type: <xref href="com.microsoft.azure.batch.protocol.models.TaskFailureInformation?alt=com.microsoft.azure.batch.protocol.models.TaskFailureInformation&text=TaskFailureInformation" data-throw-if-not-resolved="False"/>
summary: >-
<p>Set the message value.</p>
<p></p>
syntax: public TaskFailureInformation withMessage(String message)
uid: com.microsoft.azure.batch.protocol.models.TaskFailureInformation.withMessage(String)
nameWithType: TaskFailureInformation
syntax: public class TaskFailureInformation
type: class
uid: com.microsoft.azure.batch.protocol.models.TaskFailureInformation
fullName: com.microsoft.azure.batch.protocol.models.TaskFailureInformation
name: TaskFailureInformation
package: com.microsoft.azure.batch.protocol.models
summary: <p>Information about a task failure. </p>
metadata: {}