public ReceiveBatch(IBTTransportProxy transportProxy, ControlledTermination control, ManualResetEvent orderedEvent, int depth) : base(transportProxy, true) { _control = control; _orderedEvent = orderedEvent; _innerBatch = null; _depth = depth; }
public TxnBatch(IBTTransportProxy transportProxy, ControlledTermination control, IDtcTransaction comTxn, CommittableTransaction transaction, ManualResetEvent orderedEvent, bool makeSuccessCall) : base(transportProxy, makeSuccessCall) { this.control = control; this.comTxn = comTxn; this.transaction = transaction; this.orderedEvent = orderedEvent; }
private SyncReceiveSubmitBatch(IBTTransportProxy transportProxy, ControlledTermination control, ManualResetEvent submitComplete, int depth) : base(transportProxy, control, submitComplete, depth) { this.control = control; this.workDone = submitComplete; base.ReceiveBatchComplete += new ReceiveBatchCompleteHandler(OnBatchComplete); }
private SyncReceiveSubmitBatch(IBTTransportProxy transportProxy, ControlledTermination control, ManualResetEvent submitComplete, int depth) : base(transportProxy, control, submitComplete, depth) { _control = control; _workDone = submitComplete; ReceiveBatchComplete += OnBatchComplete; }
public TxnBatch(IBTTransportProxy transportProxy, ControlledTermination control, CommittableTransaction transaction, ManualResetEvent orderedEvent, bool makeSuccessCall) : base(transportProxy, makeSuccessCall) { this.control = control; this.comTxn = TransactionInterop.GetDtcTransaction(transaction); // the System.Transactions transaction - must be the original transaction - only that can be used to commit this.transaction = transaction; this.orderedEvent = orderedEvent; }
public ReceiveBatch(IBTTransportProxy transportProxy, ControlledTermination control, ReceiveBatchCompleteHandler callback, int depth) : base(transportProxy, true) { _control = control; if (callback != null) { ReceiveBatchComplete += callback; } _innerBatch = null; _depth = depth; }
protected Receiver( string name, string version, string description, string transportType, Guid clsid, string propertyNamespace, Type endpointType) : base( name, version, description, transportType, clsid, propertyNamespace) { _endpointType = endpointType; _control = new ControlledTermination(); }
protected AsyncTransmitter( string name, string version, string description, string transportType, Guid clsid, string propertyNamespace, Type endpointType, int maxBatchSize) : base( name, version, description, transportType, clsid, propertyNamespace) { EndpointType = endpointType; MaxBatchSize = maxBatchSize; _controlledTermination = new ControlledTermination(); }
public SingleMessageReceiveTxnBatch(IBTTransportProxy transportProxy, ControlledTermination control, CommittableTransaction transaction, ManualResetEvent orderedEvent) : base(transportProxy, control, transaction, orderedEvent, true) { }
public AbortOnAllFailureReceiveTxnBatch(IBTTransportProxy transportProxy, ControlledTermination control, CommittableTransaction transaction, ManualResetEvent orderedEvent, StopProcessing stopProcessing) : base(transportProxy, control, transaction, orderedEvent, false) { _stopProcessing = stopProcessing; }
public AbortOnFailureReceiveTxnBatch(IBTTransportProxy transportProxy, ControlledTermination control, IDtcTransaction comTxn, CommittableTransaction transaction, ManualResetEvent orderedEvent, TxnAborted txnAborted) : base(transportProxy, control, comTxn, transaction, orderedEvent, false) { _txnAborted = txnAborted; }
public abstract void Open(string uri, IPropertyBag config, IPropertyBag bizTalkConfig, IPropertyBag handlerPropertyBag, IBTTransportProxy transportProxy, string transportType, string propertyNamespace, ControlledTermination control);
public SyncReceiveSubmitBatch(IBTTransportProxy transportProxy, ControlledTermination control, int depth) : this(transportProxy, control, new ManualResetEvent(false), depth) { }