DelegatingStream.WriteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteAsync(ReadOnlyMemory<Byte>, CancellationToken) | |
WriteAsync(Byte[], Int32, Int32, CancellationToken) |
WriteAsync(ReadOnlyMemory<Byte>, CancellationToken)
- Source:
- DelegatingStream.cs
- Source:
- DelegatingStream.cs
- Source:
- DelegatingStream.cs
public override System.Threading.Tasks.ValueTask WriteAsync (ReadOnlyMemory<byte> buffer, System.Threading.CancellationToken cancellationToken = default);
override this.WriteAsync : ReadOnlyMemory<byte> * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask
Public Overrides Function WriteAsync (buffer As ReadOnlyMemory(Of Byte), Optional cancellationToken As CancellationToken = Nothing) As ValueTask
Parameters
- buffer
- ReadOnlyMemory<Byte>
- cancellationToken
- CancellationToken
Returns
Applies to
WriteAsync(Byte[], Int32, Int32, CancellationToken)
- Source:
- DelegatingStream.cs
- Source:
- DelegatingStream.cs
- Source:
- DelegatingStream.cs
public:
override System::Threading::Tasks::Task ^ WriteAsync(cli::array <System::Byte> ^ buffer, int offset, int count, System::Threading::CancellationToken cancellationToken);
public override System.Threading.Tasks.Task WriteAsync (byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken);
override this.WriteAsync : byte[] * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function WriteAsync (buffer As Byte(), offset As Integer, count As Integer, cancellationToken As CancellationToken) As Task
Parameters
- buffer
- Byte[]
- offset
- Int32
- count
- Int32
- cancellationToken
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.