StreamUpgradeInitiator.InitiateUpgrade(Stream) Method
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.
Initiates the upgrade of the stream by requesting the other end of its connection to upgrade the channel transport layer.
public:
abstract System::IO::Stream ^ InitiateUpgrade(System::IO::Stream ^ stream);
public abstract System.IO.Stream InitiateUpgrade (System.IO.Stream stream);
abstract member InitiateUpgrade : System.IO.Stream -> System.IO.Stream
Public MustOverride Function InitiateUpgrade (stream As Stream) As Stream
Parameters
- stream
- Stream
The stream to be upgraded.
Returns
Returns the upgraded stream.
Remarks
This method can be called multiple times for each upgrade supported by the upgrade provider. For example, an upgrade provider that supports compression and security would call this method twice: first to upgrade the default transport streaming for compression, and second to upgrade the security. Subsequent calls to this method should pass in the upgrade stream from the previous call.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기