private GetEndPointByName ( string endpointName ) : |
||
endpointName | string | /// The endpoint name. /// |
return |
private EndpointElement GetEndPointByName(string endpointName)
{
EndpointElement endpoint = this.endpointsConfig.Endpoints[endpointName];
if (endpoint == null)
{
throw new ArgumentException(string.Format("Попытка найти конфигурацию для endpoint {0} закончилось провалом, пожалуйста укажите необходимую информацию в конфигурации {1}", endpointName, ServiceBusSectionName));
}
return endpoint;
}