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)
48
48
// Encode the test data into a byte array.
49
49
byte [ ] message = System . Text . Encoding . UTF8 . GetBytes ( "Hello from the client." ) ;
50
50
authStream . Write ( message , 0 , message . Length ) ;
51
- authStream . Flush ( ) ;
51
+ authStream . Flush ( ) ;
52
52
Console . WriteLine ( "Sent {0} bytes." , message . Length ) ;
53
- }
54
- // Close the client connection.
53
+ }
54
+ // Close the client connection.
55
55
authStream . Close ( ) ;
56
56
Console . WriteLine ( "Client closed." ) ;
57
57
}
Original file line number Diff line number Diff line change @@ -3073,10 +3073,17 @@ Authentication has not occurred.</exception>
3073
3073
<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" />
3074
3074
</Parameters >
3075
3075
<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 >
3080
3087
</Docs >
3081
3088
</Member >
3082
3089
<Member MemberName =" ImpersonationLevel" >
You can’t perform that action at this time.
0 commit comments