azure-docs-sdk-java/docs-ref-autogen/system.fabric.CancellationT...

56 строки
3.0 KiB
YAML

### YamlMime:JavaType
constructors:
- fullName: system.fabric.CancellationTokenSource.CancellationTokenSource()
name: CancellationTokenSource()
nameWithType: CancellationTokenSource.CancellationTokenSource()
summary: <p>Initializes a new instance of the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationTokenSource"></xref> class. </p>
syntax: public CancellationTokenSource()
uid: system.fabric.CancellationTokenSource.CancellationTokenSource()
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
methods:
- fullName: system.fabric.CancellationTokenSource.cancel()
name: cancel()
nameWithType: CancellationTokenSource.cancel()
summary: <p>Requests cancel on the <xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref> being managed by this object. </p>
syntax: public void cancel()
uid: system.fabric.CancellationTokenSource.cancel()
- fullName: system.fabric.CancellationTokenSource.getToken()
name: getToken()
nameWithType: CancellationTokenSource.getToken()
returns:
description: >-
<p>
<xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref>
</p>
type: <xref href="system.fabric.CancellationToken?alt=system.fabric.CancellationToken&text=CancellationToken" data-throw-if-not-resolved="False"/>
summary: >-
<p>Returns the cancellation token which is being by this <xref uid="" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationTokenSource"></xref> object.</p>
<p></p>
syntax: public CancellationToken getToken()
uid: system.fabric.CancellationTokenSource.getToken()
- fullName: system.fabric.CancellationTokenSource.isCancellationRequested()
name: isCancellationRequested()
nameWithType: CancellationTokenSource.isCancellationRequested()
returns:
description: <p>Whether cancellation has been requested for this <xref uid="" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationTokenSource"></xref>. </p>
type: <xref href="boolean?alt=boolean&text=boolean" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets whether cancellation has been requested for this <xref uid="" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationTokenSource"></xref>.</p>
<p></p>
syntax: public boolean isCancellationRequested()
uid: system.fabric.CancellationTokenSource.isCancellationRequested()
nameWithType: CancellationTokenSource
syntax: public class CancellationTokenSource
type: class
uid: system.fabric.CancellationTokenSource
fullName: system.fabric.CancellationTokenSource
name: CancellationTokenSource
package: system.fabric
summary: <p>A CancellationTokenSource is used to create <xref uid="system.fabric.CancellationToken" data-throw-if-not-resolved="false" data-raw-source="system.fabric.CancellationToken"></xref> object and manage it. </p>
metadata: {}