5 writes to state
mscorlib (5)
system\runtime\remoting\lease.cs (5)
74
state
= LeaseState.Initial;
81
state
= LeaseState.Active;
145
state
= LeaseState.Null;
275
state
= LeaseState.Expired;
562
state
= LeaseState.Active;
28 references to state
mscorlib (28)
system\runtime\remoting\lease.cs (28)
104
if (
state
== LeaseState.Initial)
110
throw new RemotingException(Environment.GetResourceString("Remoting_Lifetime_InitialStateRenewOnCall", ((Enum)
state
).ToString()));
122
if (
state
== LeaseState.Initial)
128
throw new RemotingException(Environment.GetResourceString("Remoting_Lifetime_InitialStateSponsorshipTimeout", ((Enum)
state
).ToString()));
141
if (
state
== LeaseState.Initial)
146
BCLDebug.Trace("REMOTE", "Lease Set InitialLeaseTime Property ",managedObject," "+InitialLeaseTime+", current state "+((Enum)
state
).ToString());
149
throw new RemotingException(Environment.GetResourceString("Remoting_Lifetime_InitialStateInitialLeaseTime", ((Enum)
state
).ToString()));
162
get { return
state
;}
179
BCLDebug.Trace("REMOTE", "Lease "+id+" Register Sponsor renewalTime ",renewalTime," state ",((Enum)
state
).ToString());
180
if (
state
== LeaseState.Expired || sponsorshipTimeout == TimeSpan.Zero)
203
BCLDebug.Trace("REMOTE", "Lease",id," Unregister state ",((Enum)
state
).ToString());
204
if (
state
== LeaseState.Expired)
261
BCLDebug.Trace("REMOTE","Lease ",id," Renew ",renewalTime," state ",((Enum)
state
).ToString());
262
if (
state
== LeaseState.Expired)
272
BCLDebug.Trace("REMOTE","Lease ",id," Remove state ",((Enum)
state
).ToString());
273
if (
state
== LeaseState.Expired)
284
BCLDebug.Trace("REMOTE","Lease ",id," Cancel Managed Object ",managedObject," state ",((Enum)
state
).ToString());
286
if (
state
== LeaseState.Expired)
315
if (
state
== LeaseState.Initial ||
state
== LeaseState.Expired)
326
BCLDebug.Trace("REMOTE","Lease ",id," LeaseExpired state ",((Enum)
state
).ToString());
327
if (
state
== LeaseState.Expired)
347
BCLDebug.Trace("REMOTE","Lease ",id," SponsorCall state ",((Enum)
state
).ToString());
349
if (
state
== LeaseState.Expired)
364
if ((sponsorStateInfo.sponsorState == SponsorState.Waiting) && (
state
!= LeaseState.Expired))
464
BCLDebug.Trace("REMOTE","Lease ",id," SponsorCallback IAsyncResult ",iar," state ",((Enum)
state
).ToString());
465
if (
state
== LeaseState.Expired)
552
if (
state
== LeaseState.Expired)