Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StreamUpgradeInitiator.GetNextUpgrade Method

Definition

Namespace:
System.ServiceModel.Channels
Assemblies:
System.ServiceModel.dll, System.ServiceModel.NetFramingBase.dll
Assembly:
System.ServiceModel.dll
Packages:
System.ServiceModel.NetFramingBase v10.0.652802, System.ServiceModel.Primitives v10.0.652802
Source:
StreamUpgradeInitiator.cs
Source:
StreamUpgradeInitiator.cs

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.

Returns the content type of the next upgrade to be performed.

public:
 abstract System::String ^ GetNextUpgrade();
public abstract string GetNextUpgrade();
abstract member GetNextUpgrade : unit -> string
Public MustOverride Function GetNextUpgrade () As String

Returns

Returns the content type of the next upgrade.

Remarks

This method returns a set of upgrade content types supported by the upgrade provider in the order in which they are expected. Upgrade providers that support a single upgrade return only a single value. Upgrade providers that support multiple upgrades return the values in order (for example, compression content type followed by the security content type).

Applies to


Feedback

Was this page helpful?