Concurrent |
public class ConcurrentStream : TaskStateManagement, IDisposable
The ConcurrentStream type exposes the following members.
| Name | Description | |
|---|---|---|
| ConcurrentStream | Initializes a new instance of the ConcurrentStream class | |
| ConcurrentStream(ILogger) | Initializes a new instance of the ConcurrentStream class | |
| ConcurrentStream(Int64, ILogger) | Initializes a new instance of the ConcurrentStream class | |
| ConcurrentStream(Stream, Int64, ILogger) | Initializes a new instance of the ConcurrentStream class | |
| ConcurrentStream(String, Int64, Int64, ILogger) | Initializes a new instance of the ConcurrentStream class |
| Name | Description | |
|---|---|---|
| CanRead | ||
| CanSeek | ||
| CanWrite | ||
| Data | ||
| Exception |
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) | |
| IsCanceled |
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) | |
| IsCompleted |
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) | |
| IsCompletedSuccessfully |
Gets whether the task ran to completion.
Result is true if the task ran to completion; otherwise false.
(Inherited from TaskStateManagement) | |
| IsFaulted |
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) | |
| Length | ||
| MaxMemoryBufferBytes | ||
| Path | ||
| Position | ||
| Status |
Gets the TaskStatus of this task.
(Inherited from TaskStateManagement) |
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the ConcurrentStream | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FlushAsync | ||
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OpenRead | ||
| Read | ||
| Seek | ||
| SetLength | ||
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| WriteAsync |
| Name | Description | |
|---|---|---|
| Logger | (Inherited from TaskStateManagement) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |