28 references to LeaseState
mscorlib (25)
system\runtime\remoting\ilease.cs (1)
67
LeaseState
CurrentState
system\runtime\remoting\lease.cs (22)
49
internal
LeaseState
state;
74
state =
LeaseState
.Initial;
81
state =
LeaseState
.Active;
104
if (state ==
LeaseState
.Initial)
122
if (state ==
LeaseState
.Initial)
141
if (state ==
LeaseState
.Initial)
145
state =
LeaseState
.Null;
159
public
LeaseState
CurrentState
180
if (state ==
LeaseState
.Expired || sponsorshipTimeout == TimeSpan.Zero)
204
if (state ==
LeaseState
.Expired)
262
if (state ==
LeaseState
.Expired)
273
if (state ==
LeaseState
.Expired)
275
state =
LeaseState
.Expired;
286
if (state ==
LeaseState
.Expired)
315
if (state ==
LeaseState
.Initial || state ==
LeaseState
.Expired)
327
if (state ==
LeaseState
.Expired)
349
if (state ==
LeaseState
.Expired)
364
if ((sponsorStateInfo.sponsorState == SponsorState.Waiting) && (state !=
LeaseState
.Expired))
465
if (state ==
LeaseState
.Expired)
552
if (state ==
LeaseState
.Expired)
562
state =
LeaseState
.Active;
system\runtime\remoting\lifetimeservices.cs (1)
341
if (lease.CurrentState ==
LeaseState
.Initial)
system\runtime\remoting\remotingservices.cs (1)
589
if (lease.CurrentState ==
LeaseState
.Expired)
PresentationFramework (1)
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
120
Debug.Assert(lease.CurrentState ==
LeaseState
.Initial);
System.Transactions (1)
System\Transactions\Transaction.cs (1)
1543
if ((lease != null) && (lease.CurrentState ==
LeaseState
.Initial) && (leaseLifetime > 0))
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskLeaseLifetimeHelper.cs (1)
45
if ((lease != null) && (lease.CurrentState ==
LeaseState
.Initial))