コード例 #1
0
 void IWcfEndpointVisitor.VisitConfigurationEndpoint(ConfigurationEndpointModel model)
 {
     serviceEndpoint = builder.AddServiceEndpoint(serviceHost, model);
 }
コード例 #2
0
 void IWcfEndpointVisitor.VisitConfigurationEndpoint(ConfigurationEndpointModel model)
 {
     channelCreator = GetChannel(contract, model.EndpointName);
 }
コード例 #3
0
 protected virtual ServiceEndpoint AddServiceEndpoint(ServiceHost serviceHost, ConfigurationEndpointModel model)
 {
     throw new InvalidOperationException("The ServiceEndpoint for a ServiceHost " +
                                         "cannot be created from an endpoint name.");
 }