StreamUpgradeProvider.CreateUpgradeInitiator Method (EndpointAddress, Uri)

 
System_CAPS_noteNote

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

Creates an instance of StreamUpgradeInitiator.

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

public abstract StreamUpgradeInitiator CreateUpgradeInitiator(
	EndpointAddress remoteAddress,
	Uri via
)

Parameters

remoteAddress
Type: System.ServiceModel.EndpointAddress

Endpoint address for the channel.

via
Type: System.Uri

The address of the Via URI (an intermediate URI through which communication may be routed).

This method creates the associated StreamUpgradeInitiator for this upgrade provider that creates upgrade requests for the matching StreamUpgradeAcceptor at the endpoint provided.

.NET Framework
Available since 3.0
Return to top
Show: