StreamUpgradeInitiator.EndInitiateUpgrade Method (IAsyncResult)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This method is the asynchronous callback method that is called after BeginInitiateUpgrade has completed.

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

public abstract Stream EndInitiateUpgrade(
	IAsyncResult result


Type: System.IAsyncResult

The IAsyncResult returned from the BeginInitiateUpgrade method.

Return Value

Type: System.IO.Stream

Returns the upgraded stream.

For more information about using this method, see the remarks in InitiateUpgrade.

.NET Framework
Available since 3.0
Return to top