StreamUpgradeInitiator.InitiateUpgrade(Stream) Method
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
- stream
- Stream
The stream to be upgraded.
Returns the upgraded stream.
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.
Produit | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :