コード例 #1
0
        public DxStoreAccessReply.GetAllProperties GetAllProperties(DxStoreAccessRequest.GetAllProperties request, TimeSpan?timeout = null)
        {
            WcfExceptionTranslator <IDxStoreAccess> runner         = WcfStoreAccessClient.Runner;
            CachedChannelFactory <IDxStoreAccess>   channelFactory = this.ChannelFactory;
            TimeSpan?timeSpan = timeout;

            return(runner.Execute <DxStoreAccessReply.GetAllProperties>(channelFactory, (timeSpan != null) ? new TimeSpan?(timeSpan.GetValueOrDefault()) : this.OperationTimeout, (IDxStoreAccess service) => this.TraceRequests <DxStoreAccessRequest.GetAllProperties, DxStoreAccessReply.GetAllProperties>(request, new Func <DxStoreAccessRequest.GetAllProperties, DxStoreAccessReply.GetAllProperties>(service.GetAllProperties))));
        }
コード例 #2
0
 public DxStoreAccessReply.GetAllProperties GetAllProperties(DxStoreAccessRequest.GetAllProperties request, TimeSpan?timeout = null)
 {
     return(this.Execute <DxStoreAccessRequest.GetAllProperties, DxStoreAccessReply.GetAllProperties>(request, timeout));
 }