4 instantiations of MessageAttemptInfo
System.ServiceModel.Primitives (4)
System\ServiceModel\Channels\TransmissionStrategy.cs (4)
218
attemptInfo = new
MessageAttemptInfo
(_window.GetMessage(index), sequenceNumber, 0, state);
305
attemptInfo = new
MessageAttemptInfo
(_window.GetMessage(0), _windowStart, _window.GetRetryCount(0), _window.GetState(0));
383
return new
MessageAttemptInfo
(_window.GetMessage(index), next, _window.GetRetryCount(index), _window.GetState(index));
752
_attemptInfo = new
MessageAttemptInfo
(message, 0, 0, state);
25 references to MessageAttemptInfo
System.ServiceModel.Primitives (25)
System\ServiceModel\Channels\ClientReliableDuplexSessionChannel.cs (1)
830
private async Task OnSendAsyncHandler(
MessageAttemptInfo
attemptInfo, TimeSpan timeout, bool maskUnhandledException)
System\ServiceModel\Channels\ReliableOutputConnection.cs (5)
12
internal delegate Task SendAsyncHandler(
MessageAttemptInfo
attemptInfo, TimeSpan timeout, bool maskUnhandledException);
15
internal delegate Task RetryHandler(
MessageAttemptInfo
attemptInfo);
135
MessageAttemptInfo
attemptInfo;
200
private async Task OnRetryTimeoutElapsed(
MessageAttemptInfo
attemptInfo)
305
MessageAttemptInfo
attemptInfo = Strategy.GetMessageInfoForRetry(false);
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (1)
277
private async Task OnConnectionSendAsyncHandler(
MessageAttemptInfo
attemptInfo, TimeSpan timeout, bool maskUnhandledException)
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (1)
275
private async Task OnConnectionSendAsync(
MessageAttemptInfo
attemptInfo, TimeSpan timeout, bool maskUnhandledException)
System\ServiceModel\Channels\TransmissionStrategy.cs (17)
176
public Task<(
MessageAttemptInfo
attemptInfo, bool success)> AddAsync(Message message, TimeSpan timeout, object state)
181
public async Task<
MessageAttemptInfo
> AddLastAsync(Message message, TimeSpan timeout, object state)
188
(
MessageAttemptInfo
attemptInfo, _) = await InternalAddAsync(message, true, timeout, state);
193
private
MessageAttemptInfo
AddToWindow(Message message, bool isLast, object state)
195
MessageAttemptInfo
attemptInfo = default(
MessageAttemptInfo
);
290
MessageAttemptInfo
attemptInfo = default(
MessageAttemptInfo
);
349
public
MessageAttemptInfo
GetMessageInfoForRetry(bool remove)
356
return default(
MessageAttemptInfo
);
388
return default(
MessageAttemptInfo
);
411
private async Task<(
MessageAttemptInfo
attemptInfo, bool success)> InternalAddAsync(Message message, bool isLast, TimeSpan timeout, object state)
413
MessageAttemptInfo
attemptInfo = default(
MessageAttemptInfo
);
745
private
MessageAttemptInfo
_attemptInfo = default(
MessageAttemptInfo
);
777
public async Task<
MessageAttemptInfo
> WaitAsync(TimeSpan timeout)