TransportDisconnectBase Class

.NET Framework 4.5

Represents the base of transport disconnect operation.

Namespace:  Microsoft.AspNet.SignalR.Transports
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public ref class TransportDisconnectBase abstract : ITrackingConnection, 
	IDisposable

The TransportDisconnectBase type exposes the following members.

  NameDescription
Protected methodTransportDisconnectBaseInitializes a new instance of the TransportDisconnectBase class.
Top

  NameDescription
Public propertyCancellationTokenGets a cancellation token that represents the connection’s lifetime.
Protected propertyConnectionGets or sets the transport connection for the disconnection base of transport.
Protected propertyConnectionEndTokenGets the connection to end the operation for this token.
Public propertyConnectionIdGets or sets the ID of the connection.
Public propertyConnectTask
Protected propertyContextGets the host context associated with the transport disconnection base.
Public propertyDisconnectedGets or sets the disconnected property for the connection transports.
Public propertyDisconnectThresholdGets the time span to wait after the connection dies before firing the disconnecting the connection.
Protected propertyHeartbeatGets the transport heartbeat to manage the tracking state of connections.
Protected propertyHostShutdownToken
Protected propertyIsAbortRequestGets a value that represents the connection make a request to abort.
Public propertyIsAliveGets a value that represents if the connection is alive.
Public propertyIsConnectRequestGets a value that represents if the connections make a request.
Public propertyIsTimedOutGets a value that represents if the connection is timed out.
Public propertyOutputWriterGets the output writer that can write a sequential series of characters.
Public propertySupportsKeepAliveGets a value that represents if the transport supports keep alive.
Protected propertyTraceGets the source to trace the execution of code and associate trace messages with their source.
Public propertyUrlGets the URI of the connection.
Top

  NameDescription
Public methodAbort()Aborts the current task process for the TransportDisconnectBase.
Public methodAbort(Boolean)Aborts the current task process for the TransportDisconnectBase.
Public methodApplyStateApplies a new state to the connection.
Protected methodCreateResponseWriterReturns a writer to create a response for the transport disconnection base.
Public methodDisconnectCauses the connection to disconnect.
Public methodDispose()Releases all resources used by the current instance of the TransportDisconnectBase class.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the TransportDisconnectBase class and optionally releases the managed resources.
Public methodEndKills the connection.
Protected methodEnqueueOperation(Func<Task>)Adds the specified delegate function to end the task queue.
Protected methodEnqueueOperation(Func<Object, Task>, Object)Adds the specified delegate function to end the task queue.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodIncrementErrorsIncrements the errors to the transport disconnection base.
Protected methodInitializePersistentStateInitialize the persistent state for the transport disconnection base.
Public methodKeepAliveSends a keep alive ping over the connection.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodTimeoutGets called when connection is timed out.
Public methodToString (Inherited from Object.)
Top

No content here will be updated; please do not add material here.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: