Write options that will be used for the next write.
If null, default options will be used.
Once set, this property maintains its value across subsequent
writes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe content describes the \u003ccode\u003eIAsyncStreamWriter<T>\u003c/code\u003e interface, which is a writable stream for messages in the \u003ccode\u003eGrpc.Core\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this interface is 2.66.0, with previous versions 2.63.0 and 2.48.0 also listed for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe interface allows setting \u003ccode\u003eWriteOptions\u003c/code\u003e to define how the next write operation should be handled, maintaining this value for subsequent writes.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a \u003ccode\u003eWriteAsync(T message)\u003c/code\u003e method, enabling asynchronous writing of messages, with only one write operation allowed to be pending at any given time.\u003c/p\u003e\n"],["\u003cp\u003eThe message type \u003ccode\u003eT\u003c/code\u003e is defined, which represents the type of message that can be written to the stream.\u003c/p\u003e\n"]]],[],null,["# Interface IAsyncStreamWriter<T> (2.66.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.66.0 (latest)](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.IAsyncStreamWriter-1)\n- [2.63.0](/dotnet/docs/reference/Grpc.Core/2.63.0/Grpc.Core.IAsyncStreamWriter-1)\n- [2.48.0](/dotnet/docs/reference/Grpc.Core/2.48.0/Grpc.Core.IAsyncStreamWriter-1) \n\n public interface IAsyncStreamWriter\u003cin T\u003e\n\nA writable stream of messages.\n\nNamespace\n---------\n\n[Grpc.Core](/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core)\n\nAssembly\n--------\n\nGrpc.Core.Api.dll\n\nProperties\n----------\n\n### WriteOptions\n\n WriteOptions? WriteOptions { get; set; }\n\nWrite options that will be used for the next write.\nIf null, default options will be used.\nOnce set, this property maintains its value across subsequent\nwrites.\n\nMethods\n-------\n\n### WriteAsync(T)\n\n Task WriteAsync(T message)\n\nWrites a message asynchronously. Only one write can be pending at a time."]]