ToString() public method

public ToString ( ) : string
return string
Esempio n. 1
0
 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());
 }
Esempio n. 3
0
 public PipeNodeServiceClient(EndpointAddress pipeAddress)
     : this(pipeAddress.ToString())
 {
 }
Esempio n. 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());
 }
Esempio n. 6
0
 private void UnlockCallToAddress(EndpointAddress address)
 {
     object lockObject;
     if (addressLockObjects.TryGetValue(address.ToString(), out lockObject))
     {
         Monitor.Exit(lockObject);
     }
 }
Esempio n. 7
0
 private void LockCallToAddress(EndpointAddress address)
 {
     var valueToLock = addressLockObjects.GetOrAdd(address.ToString(), k => new object());
     Monitor.Enter(valueToLock);
 }
Esempio n. 8
0
 public static ServiceUri FromEndpointAddress(EndpointAddress endpointAddress, Binding binding)
 {
     return new ServiceUri() { Address = endpointAddress.ToString() };
 }