1 instantiation of MsmqReceiveContext
System.ServiceModel (1)
System\ServiceModel\Channels\MsmqReceiveContextLockManager.cs (1)
53
MsmqReceiveContext receiveContext = new
MsmqReceiveContext
(lookupId, expiryTime, this);
27 references to MsmqReceiveContext
System.ServiceModel (27)
System\ServiceModel\Channels\MsmqInputChannelBase.cs (2)
174
message.Properties[
MsmqReceiveContext
.Name] = this.receiveContextManager.CreateMsmqReceiveContext(msmqMessage.LookupId.Value);
242
message.Properties[
MsmqReceiveContext
.Name] = this.receiveContextManager.CreateMsmqReceiveContext(msmqMessage.LookupId.Value);
System\ServiceModel\Channels\MsmqReceiveContext.cs (4)
121
MsmqReceiveContext
receiver;
127
ReceiveContextAsyncResult(
MsmqReceiveContext
receiver, TimeSpan timeout, AsyncCallback callback, object state, Action<object> target)
141
public static IAsyncResult CreateComplete(
MsmqReceiveContext
receiver, TimeSpan timeout, AsyncCallback callback, object state)
150
public static IAsyncResult CreateAbandon(
MsmqReceiveContext
receiver, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\MsmqReceiveContextLockManager.cs (21)
17
Dictionary<long,
MsmqReceiveContext
> messageExpiryMap;
18
Dictionary<Guid, List<
MsmqReceiveContext
>> transMessages;
33
this.messageExpiryMap = new Dictionary<long,
MsmqReceiveContext
>();
34
this.transMessages = new Dictionary<Guid, List<
MsmqReceiveContext
>>();
49
public
MsmqReceiveContext
CreateMsmqReceiveContext(long lookupId)
53
MsmqReceiveContext
receiveContext = new MsmqReceiveContext(lookupId, expiryTime, this);
68
public void DeleteMessage(
MsmqReceiveContext
receiveContext, TimeSpan timeout)
79
MsmqReceiveContext
entry = this.messageExpiryMap[lookupId];
91
List<
MsmqReceiveContext
> transMsgs;
94
transMsgs = new List<
MsmqReceiveContext
>();
121
public void UnlockMessage(
MsmqReceiveContext
receiveContext, TimeSpan timeout)
135
bool ReceiveContextExists(
MsmqReceiveContext
receiveContext)
139
MsmqReceiveContext
receiveContextFromMap = null;
158
List<
MsmqReceiveContext
> toRemove;
161
foreach (
MsmqReceiveContext
entry in toRemove)
187
List<
MsmqReceiveContext
> expiredLockList = new List<
MsmqReceiveContext
>();
190
foreach (KeyValuePair<long,
MsmqReceiveContext
> msgEntry in this.messageExpiryMap)
199
foreach (
MsmqReceiveContext
entry in expiredLockList)
220
MsmqReceiveContext
receiveContext = (
MsmqReceiveContext
)sender;