AuthenticatedStream(Stream, Boolean) 생성자
정의
AuthenticatedStream 클래스의 새 인스턴스를 초기화합니다.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)
매개 변수
- innerStream
- Stream
Stream에서 데이터를 보내고 받는 데 사용하는 AuthenticatedStream 개체입니다.A Stream object used by the AuthenticatedStream for sending and receiving data.
- leaveInnerStreamOpen
- Boolean
이 AuthenticatedStream 개체를 닫으면 innerStream
을 함께 닫을지 여부를 나타내는 Boolean입니다.A Boolean that indicates whether closing this AuthenticatedStream object also closes innerStream
.
예외
innerStream
이(가) null
인 경우innerStream
is null
.
또는-or-
innerStream
이(가) Null와 같은 경우.innerStream
is equal to Null.
설명
매개 변수에 대해를 지정 하는 경우 true
leaveStreamOpen
를 닫아도 스트림에는 아무런 영향을 주지 AuthenticatedStream 않습니다 innerStream
.When you specify true
for the leaveStreamOpen
parameter, closing the AuthenticatedStream has no effect on the innerStream
stream.
이 생성자는 인증 된 스트림의 구현자를 위해 제공 되며에서 파생 된 클래스에 의해서만 호출 될 수 있습니다 AuthenticatedStream .This constructor is provided for implementers of authenticated streams, and can be called only by classes that are derived from AuthenticatedStream.