File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed
samples/snippets/csharp/VS_Snippets_Remoting/NclNegoSyncClient/CS Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ public static void Main(String[] args)
4848 // Encode the test data into a byte array.
4949 byte [ ] message = System . Text . Encoding . UTF8 . GetBytes ( "Hello from the client." ) ;
5050 authStream . Write ( message , 0 , message . Length ) ;
51- authStream . Flush ( ) ;
51+ authStream . Flush ( ) ;
5252 Console . WriteLine ( "Sent {0} bytes." , message . Length ) ;
53- }
54- // Close the client connection.
53+ }
54+ // Close the client connection.
5555 authStream . Close ( ) ;
5656 Console . WriteLine ( "Client closed." ) ;
5757 }
Original file line number Diff line number Diff line change @@ -3073,10 +3073,17 @@ Authentication has not occurred.</exception>
30733073 <Parameter Name =" cancellationToken" Type =" System.Threading.CancellationToken" Index =" 0" FrameworkAlternate =" net-5.0;netcore-2.0;netcore-2.1;netcore-2.2;netcore-3.0;netcore-3.1;netstandard-2.1" />
30743074 </Parameters >
30753075 <Docs >
3076- <param name =" cancellationToken" >To be added.</param >
3077- <summary >To be added.</summary >
3078- <returns >To be added.</returns >
3079- <remarks >To be added.</remarks >
3076+ <param name =" cancellationToken" >The token to monitor for cancellation requests.</param >
3077+ <summary >Asynchronously writes any buffered data to the underlying device.</summary >
3078+ <returns >A task that represents the asynchronous flush operation.</returns >
3079+ <remarks >
3080+ <format type =" text/markdown" ><![CDATA[
3081+
3082+ ## Remarks
3083+ This method invokes <xref:System.IO.Stream.FlushAsync%2A> on the underlying stream.
3084+
3085+ ]]> </format >
3086+ </remarks >
30803087 </Docs >
30813088 </Member >
30823089 <Member MemberName =" ImpersonationLevel" >
You can’t perform that action at this time.
0 commit comments