AuthenticatedStream(Stream, Boolean) Constructor
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.
Initializes a new instance of the AuthenticatedStream class.
protected:
AuthenticatedStream(System::IO::Stream ^ innerStream, bool leaveInnerStreamOpen);
protected AuthenticatedStream (System.IO.Stream innerStream, bool leaveInnerStreamOpen);
new System.Net.Security.AuthenticatedStream : System.IO.Stream * bool -> System.Net.Security.AuthenticatedStream
Protected Sub New (innerStream As Stream, leaveInnerStreamOpen As Boolean)
Parameters
- innerStream
- Stream
A Stream object used by the AuthenticatedStream for sending and receiving data.
- leaveInnerStreamOpen
- Boolean
A Boolean that indicates whether closing this AuthenticatedStream object also closes innerStream
.
Exceptions
Remarks
When you specify true
for the leaveStreamOpen
parameter, closing the AuthenticatedStream has no effect on the innerStream
stream.
This constructor is provided for implementers of authenticated streams, and can be called only by classes that are derived from AuthenticatedStream.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za