C # VS Express: "This method is reserved for future use" - what does it mean?

I want to use the Stream.Flush method, but its documentation shows this message. What does it mean?

EDIT: I didn't find a solution on the MSDN thread. My problem is that sometimes sending a message and disconnecting the client causes the message to not display. Therefore I will need to clear the stream or socket in the OnDisconnecing event.

+2


source to share


4 answers


They hired a guy who was half French and half English to do the paperwork?
Anecdotes, this means: this method is reserved for future use, i.e. The method that is used to create was created in such a way that the "thing" conforms to some specification, but it is just a placeholder and will be implemented later.



+5


source


This means that the authors of the Stream you are using have not implemented Flush , so you do not need to call it in code.



+3


source


If you are using NetworkStream

, please visit this MSDN thread .

0


source


This basically means that the abstract method Stream.Flush()

must be implemented, but it does nothing in the concrete implementation NetworkStream

. I believe the .NET framework relies on the OS to clean up the network.

0


source







All Articles