Editare

Partajați prin


StreamUpgradeProvider.CreateUpgradeInitiator(EndpointAddress, Uri) Method

Definition

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