StreamUpgradeInitiator.GetNextUpgrade Method ()


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

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract string GetNextUpgrade()

Return Value

Type: System.String

Returns the content type of the next upgrade.

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).

.NET Framework
Available since 3.0
Return to top