ToString() public method

public ToString ( ) : string
return string
 public TcpNodeServiceClient(EndpointAddress tcpAddress)
     : this(tcpAddress.ToString())
 {
 }
 internal static void TraceSendRequest(EndpointAddress address)
 {
     TraceSendRequest(TraceCode.MetadataExchangeClientSendRequest, SR.GetString(SR.TraceCodeMetadataExchangeClientSendRequest),
         address.ToString(), MetadataExchangeClientMode.MetadataExchange.ToString());
 }
 public PipeNodeServiceClient(EndpointAddress pipeAddress)
     : this(pipeAddress.ToString())
 {
 }
Example #4
0
        private static ChannelFactory<IStreamInformationServiceChannel> CreateChannelFactory(string endpointConfiguration, EndpointAddress remoteAddress)
        {
            if (_log.IsDebugEnabled)
                _log.DebugFormat("Creating channel factory for Information Service using endpoint configuration '{0}' and remote address '{1}'", endpointConfiguration, remoteAddress.ToString());

            return new ChannelFactory<IStreamInformationServiceChannel>(endpointConfiguration, remoteAddress);
        }
 internal static void TraceSendRequest(EndpointAddress address)
 {
     TraceSendRequest(0x8005b, System.ServiceModel.SR.GetString("TraceCodeMetadataExchangeClientSendRequest"), address.ToString(), MetadataExchangeClientMode.MetadataExchange.ToString());
 }
Example #6
0
 private void UnlockCallToAddress(EndpointAddress address)
 {
     object lockObject;
     if (addressLockObjects.TryGetValue(address.ToString(), out lockObject))
     {
         Monitor.Exit(lockObject);
     }
 }
Example #7
0
 private void LockCallToAddress(EndpointAddress address)
 {
     var valueToLock = addressLockObjects.GetOrAdd(address.ToString(), k => new object());
     Monitor.Enter(valueToLock);
 }
Example #8
0
 public static ServiceUri FromEndpointAddress(EndpointAddress endpointAddress, Binding binding)
 {
     return new ServiceUri() { Address = endpointAddress.ToString() };
 }