Export (0) Print
Expand All

StreamUpgradeInitiator.EndInitiateUpgrade Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft