Note

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

Access to this page requires authorization. You can try .

StreamUpgradeProvider.CreateUpgradeInitiator(EndpointAddress, Uri) 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:
StreamUpgradeProvider.cs
Source:
StreamUpgradeProvider.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.

Creates an instance of StreamUpgradeInitiator.

public:
 abstract System::ServiceModel::Channels::StreamUpgradeInitiator ^ CreateUpgradeInitiator(System::ServiceModel::EndpointAddress ^ remoteAddress, Uri ^ via);
public abstract System.ServiceModel.Channels.StreamUpgradeInitiator CreateUpgradeInitiator(System.ServiceModel.EndpointAddress remoteAddress, Uri via);
abstract member CreateUpgradeInitiator : System.ServiceModel.EndpointAddress * Uri -> System.ServiceModel.Channels.StreamUpgradeInitiator
Public MustOverride Function CreateUpgradeInitiator (remoteAddress As EndpointAddress, via As Uri) As StreamUpgradeInitiator

Parameters

remoteAddress
EndpointAddress

Endpoint address for the channel.

via
Uri

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

Returns

Returns an instance of StreamUpgradeInitiator.

Remarks

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

Applies to


Feedback

Was this page helpful?