WebChannelFactory<TChannel>.OnOpening WebChannelFactory<TChannel>.OnOpening WebChannelFactory<TChannel>.OnOpening WebChannelFactory<TChannel>.OnOpening Method

Definition

This method is called when the WebChannelFactory<TChannel> is opened.

protected:
 override void OnOpening();
protected override void OnOpening ();
override this.OnOpening : unit -> unit
Protected Overrides Sub OnOpening ()

Remarks

When this method is called, if the WebChannelFactory<TChannel> is not already associated with a binding a new WebHttpBinding is created based on the URI scheme of the remote address. Bindings with an HTTPS remote address are appropriately configured with the Mode property set to Transport and the Transport property set to None. The WebChannelFactory<TChannel> adds an instance of WebHttpBehavior to the endpoint if one does not already exist.

Applies to