public DxStoreAccessReply.SetProperty SetProperty(DxStoreAccessRequest.SetProperty request, TimeSpan?timeout = null) { WcfExceptionTranslator <IDxStoreAccess> runner = WcfStoreAccessClient.Runner; CachedChannelFactory <IDxStoreAccess> channelFactory = this.ChannelFactory; TimeSpan?timeSpan = timeout; return(runner.Execute <DxStoreAccessReply.SetProperty>(channelFactory, (timeSpan != null) ? new TimeSpan?(timeSpan.GetValueOrDefault()) : this.OperationTimeout, (IDxStoreAccess service) => this.TraceRequests <DxStoreAccessRequest.SetProperty, DxStoreAccessReply.SetProperty>(request, new Func <DxStoreAccessRequest.SetProperty, DxStoreAccessReply.SetProperty>(service.SetProperty)))); }
public DxStoreAccessReply.SetProperty SetProperty(DxStoreAccessRequest.SetProperty request, TimeSpan?timeout = null) { return(this.Execute <DxStoreAccessRequest.SetProperty, DxStoreAccessReply.SetProperty>(request, timeout)); }