Click or drag to resize

ConcurrentStream Class

Inheritance Hierarchy
SystemObject
  DownloaderTaskStateManagement
    DownloaderConcurrentStream

Namespace: Downloader
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class ConcurrentStream : TaskStateManagement, 
	IDisposable

The ConcurrentStream type exposes the following members.

Constructors
 NameDescription
Public methodConcurrentStreamInitializes a new instance of the ConcurrentStream class
Public methodConcurrentStream(ILogger)Initializes a new instance of the ConcurrentStream class
Public methodConcurrentStream(Int64, ILogger)Initializes a new instance of the ConcurrentStream class
Public methodConcurrentStream(Stream, Int64, ILogger)Initializes a new instance of the ConcurrentStream class
Public methodConcurrentStream(String, Int64, Int64, ILogger)Initializes a new instance of the ConcurrentStream class
Top
Properties
 NameDescription
Public propertyCanRead 
Public propertyCanSeek 
Public propertyCanWrite 
Public propertyData 
Public propertyException Gets the System.AggregateException that caused the ConcurrentStream to end prematurely. If the ConcurrentStream completed successfully or has not yet thrown any exceptions, this will return null.
(Inherited from TaskStateManagement)
Public propertyIsCanceled Gets whether this ConcurrentStream.Task instance has completed execution due to being canceled. Result is true if the task has completed due to being canceled; otherwise false.
(Inherited from TaskStateManagement)
Public propertyIsCompleted Gets a value that indicates whether the task has completed. Result is true if the task has completed (that is, the task is in one of the three final states: TaskStatus.RanToCompletion, TaskStatus.Faulted or TaskStatus.Canceled); otherwise, false.
(Inherited from TaskStateManagement)
Public propertyIsCompletedSuccessfully Gets whether the task ran to completion. Result is true if the task ran to completion; otherwise false.
(Inherited from TaskStateManagement)
Public propertyIsFaulted Gets whether the ConcurrentStream.Task completed due to an unhandled exception. Reslt is true if the task has thrown an unhandled exception; otherwise false.
(Inherited from TaskStateManagement)
Public propertyLength 
Public propertyMaxMemoryBufferBytes 
Public propertyPath 
Public propertyPosition 
Public propertyStatus Gets the TaskStatus of this task.
(Inherited from TaskStateManagement)
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the ConcurrentStream
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFlushAsync 
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOpenRead 
Public methodRead 
Public methodSeek 
Public methodSetLength 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWriteAsync 
Top
Fields
 NameDescription
Protected fieldLogger
(Inherited from TaskStateManagement)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also