ToString() public method

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