EndpointAddress address;
SMBinding binding;
MetadataExchangeClientMode mode = MetadataExchangeClientMode.MetadataExchange;
+ TimeSpan? operation_timeout = null;
// constructors
[MonoTODO]
public int MaximumResolvedReferences { get; set; }
- public TimeSpan OperationTimeout { get; set; }
+ public TimeSpan OperationTimeout {
+ get {
+ if (!this.operation_timeout.HasValue) {
+ this.operation_timeout = DefaultCommunicationTimeouts.Instance.ReceiveTimeout;
+ }
+ return this.operation_timeout.Value;
+ }
+ set {
+ this.operation_timeout = value;
+ }
+ }
[MonoTODO]
public bool ResolveMetadataReferences { get; set; }
TimeSpan default_open_timeout, default_close_timeout;
IChannel channel;
IChannelFactory factory;
+ TimeSpan? operation_timeout = null;
+
#region delegates
readonly ProcessDelegate _processDelegate;
// default values
AllowInitializationUI = true;
- OperationTimeout = TimeSpan.FromMinutes (1);
if (contextChannel != null)
channel = contextChannel;
}
}
- [MonoTODO]
- public TimeSpan OperationTimeout { get; set; }
+ public TimeSpan OperationTimeout {
+ get {
+ if (!this.operation_timeout.HasValue) {
+ this.operation_timeout = DefaultCommunicationTimeouts.Instance.ReceiveTimeout;
+ }
+ return this.operation_timeout.Value;
+ }
+ set {
+ this.operation_timeout = value;
+ }
+ }
public IOutputSession OutputSession {
get {