RestrictedStreamOptions Class
Specifies options for controlling which operations are allowed on a RestrictedStream.
public sealed class RestrictedStreamOptions : IEquatable<RestrictedStreamOptions>- Implements
Constructors
| Name | Description |
|---|---|
| RestrictedStreamOptions() |
RestrictedStreamOptions()
public RestrictedStreamOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| AllowAsynchronousCalls | Gets or sets a value indicating whether asynchronous operations are allowed on the stream. |
| AllowReading | Gets or sets a value indicating whether reading operations are allowed on the stream. |
| AllowSeeking | Gets or sets a value indicating whether seeking operations are allowed on the stream. |
| AllowSynchronousCalls | Gets or sets a value indicating whether synchronous operations are allowed on the stream. |
| AllowWriting | Gets or sets a value indicating whether writing operations are allowed on the stream. |
| MaxReadLength | Gets or sets the maximum number of bytes that can be read per read operation. A negative value or 0 means no limit. |
AllowAsynchronousCalls
RestrictedStreamOptions.csAllowReading
RestrictedStreamOptions.csAllowSeeking
RestrictedStreamOptions.csAllowSynchronousCalls
RestrictedStreamOptions.csAllowWriting
RestrictedStreamOptions.csMaxReadLength
RestrictedStreamOptions.csMethods
| Name | Description |
|---|---|
| Equals(RestrictedStreamOptions?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(RestrictedStreamOptions?)
public bool Equals(RestrictedStreamOptions? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(RestrictedStreamOptions?, RestrictedStreamOptions?) | |
| operator !=(RestrictedStreamOptions?, RestrictedStreamOptions?) |
operator ==(RestrictedStreamOptions?, RestrictedStreamOptions?)
public static bool operator ==(RestrictedStreamOptions? left, RestrictedStreamOptions? right)No documentation is available.
operator !=(RestrictedStreamOptions?, RestrictedStreamOptions?)
public static bool operator !=(RestrictedStreamOptions? left, RestrictedStreamOptions? right)No documentation is available.