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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om