Zdexby TheHolyOneZ
6,967 structs
Struct

CancellationToken

: ValueType : Object
System.Threading.CancellationToken, mscorlib 0x0008 (8 B) mscorlib.dll
0x00x0008

Members 2

OffsetSizeNameTypeFlags
0x08_sourceCancellationTokenSourcePrivate+1 flags
0x08s_actionToActionObjShuntAction<System.Object>PrivateStatic+1 flags

Functions 17

SignatureFlagsNativeParams
CancellationToken get_None()PublicStatic+1 flags0x08
bool get_IsCancellationRequested()Public+1 flags0x01
bool get_CanBeCanceled()Public+1 flags0x01
void .ctor(CancellationTokenSource source)2 flags0x08
void .ctor(bool canceled)Public+1 flags0x01
CancellationTokenRegistration Register(Action callback)Public0x18
CancellationTokenRegistration Register(Action<System.Object> callback, object state)Public0x18
CancellationTokenRegistration InternalRegisterWithoutEC(Action<System.Object> callback, object state)1 flags0x18
CancellationTokenRegistration Register(Action<System.Object> callback, object state, bool useSynchronizationContext, bool useExecutionContext)Public0x18
bool Equals(const CancellationToken& other)Public0x08
bool Equals(object other)Public+1 flags0x08
int GetHashCode()Public+1 flags0x04
bool op_Equality(const CancellationToken& left, const CancellationToken& right)PublicStatic+1 flags0x08
bool op_Inequality(const CancellationToken& left, const CancellationToken& right)PublicStatic+1 flags0x08
void ThrowIfCancellationRequested()Public0x00
void ThrowOperationCanceledException()Private0x00
void .cctor()PrivateStatic+1 flags0x00

Used by 187

types with a member, parameter or interface of this type
<>c__DisplayClass41_0<Connect>d__16<ConnectAsyncCore>d__16<ConnectAsyncCore>d__26<ConnectSocketAsync>d__27<CreateStream>d__18<CreateStream>d__18<EnsureBufferContainsAsync>d__71<FinishReading>d__8<FinishWriting>d__31<GetResponseFromData>d__244<HandleReceivedCloseAsync>d__62<HandleReceivedPingPongAsync>d__64<InitConnection>d__19<Initialize>d__36<Initialize>d__42<InitReadAsync>d__52<InnerRead>d__25<InnerRead>d__66<InnerWrite>d__67<MyGetResponseAsync>d__243<ParseAndValidateConnectResponseAsync>d__30<ProcessAuthentication>d__48<ProcessOperation>d__24<ProcessReadAsync>d__2<ProcessReadAsync>d__5<ProcessReadAsync>d__7<ProcessWrite>d__34<ReadAllAsync>d__48<ReadAllAsyncInner>d__47<ReadAsync>d__28<ReadAsync>d__40<ReadAsyncCore>d__42<ReadAsyncInternal>d__37<ReadHeaders>d__43<ReadResponseHeaderLineAsync>d__32<ReceiveAsyncPrivate>d__61`2<SendCloseFrameAsync>d__69<SendFrameFallbackAsync>d__56<SetHeadersAsync>d__37<StartOperation>d__23<StartOperation>d__57<WaitForServerToCloseConnectionAsync>d__63<WaitUntilCountOrTimeoutAsync>d__32<WriteAsyncCore>d__49<WriteAsyncInner>d__33<WriteAsyncInternal>d__46<WriteChunkTrailer_inner>d__39<WriteRequestAsync>d__38AsyncProtocolRequestBufferedReadStreamCancellationTokenSourceChunkedMemoryStreamClientWebSocketContentDecodeStreamContingentPropertiesCryptoStreamDeflateStreamDelayPromiseDelegatedStreamDelegatingStreamFileStreamFixedSizeReadStreamFunc`2GZipStreamHttpWebRequestLinked1CancellationTokenSourceLinked2CancellationTokenSourceManagedWebSocketManualResetEventSlimMemoryStreamMobileAuthenticatedStreamMonoChunkStreamMonoTlsStreamNetworkStreamNetworkStreamWrapperNullStreamOperationCanceledExceptionSemaphoreSlimSocket+107 more