StreamUpgradeProvider.CreateUpgradeInitiator(EndpointAddress, Uri) Method
Definition
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.