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