StandardEndpointElement.OnApplyConfiguration Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
När den anropas från en härledd klass läser du in tjänstbeskrivningsinformationen från konfigurationsfilen och tillämpar den på körningen som skapas.
Överlagringar
| Name | Description |
|---|---|
| OnApplyConfiguration(ServiceEndpoint, ChannelEndpointElement) |
När den anropas från en härledd klass läser du in tjänstbeskrivningsinformationen från konfigurationsfilen och tillämpar den på körningen som skapas. |
| OnApplyConfiguration(ServiceEndpoint, ServiceEndpointElement) |
När den anropas från en härledd klass läser du in tjänstbeskrivningsinformationen från konfigurationsfilen och tillämpar den på körningen som skapas. |
OnApplyConfiguration(ServiceEndpoint, ChannelEndpointElement)
När den anropas från en härledd klass läser du in tjänstbeskrivningsinformationen från konfigurationsfilen och tillämpar den på körningen som skapas.
protected:
abstract void OnApplyConfiguration(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Configuration::ChannelEndpointElement ^ channelEndpointElement);
protected abstract void OnApplyConfiguration(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Configuration.ChannelEndpointElement channelEndpointElement);
abstract member OnApplyConfiguration : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Configuration.ChannelEndpointElement -> unit
Protected MustOverride Sub OnApplyConfiguration (endpoint As ServiceEndpoint, channelEndpointElement As ChannelEndpointElement)
Parametrar
- endpoint
- ServiceEndpoint
En slutpunkt som gör det möjligt för klienter att hitta och kommunicera med tjänsten.
- channelEndpointElement
- ChannelEndpointElement
Ett slutpunktselement som definierar fysisk överföring av meddelanden fram och tillbaka mellan klienten och tjänsten.
Gäller för
OnApplyConfiguration(ServiceEndpoint, ServiceEndpointElement)
När den anropas från en härledd klass läser du in tjänstbeskrivningsinformationen från konfigurationsfilen och tillämpar den på körningen som skapas.
protected:
abstract void OnApplyConfiguration(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Configuration::ServiceEndpointElement ^ serviceEndpointElement);
protected abstract void OnApplyConfiguration(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Configuration.ServiceEndpointElement serviceEndpointElement);
abstract member OnApplyConfiguration : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Configuration.ServiceEndpointElement -> unit
Protected MustOverride Sub OnApplyConfiguration (endpoint As ServiceEndpoint, serviceEndpointElement As ServiceEndpointElement)
Parametrar
- endpoint
- ServiceEndpoint
En slutpunkt som gör det möjligt för klienter att hitta och kommunicera med tjänsten.
- serviceEndpointElement
- ServiceEndpointElement
Ett tjänstslutpunktselement i ett tjänstprogram.