//========================================================================= // Retrieves the value from the specified slot on the current thread. //========================================================================= //| <include path='docs/doc[@for="Thread.GetData"]/*' /> public static Object GetData(LocalDataStoreSlot slot) { m_LocalDataStoreMgr.ValidateSlot(slot); if (localDataStore != null) { return(localDataStore.GetData(slot)); } return(null); }
public static object GetData(LocalDataStoreSlot slot) { LocalDataStoreManager.ValidateSlot(slot); LocalDataStore domainLocalStore = GetDomainLocalStore(); if (domainLocalStore == null) { return(null); } return(domainLocalStore.GetData(slot)); }
/*========================================================================= ** Retrieves the value from the specified slot on the current thread, for that thread's current domain. ** =========================================================================*/ /// <include file='doc\Thread.uex' path='docs/doc[@for="Thread.GetData"]/*' /> public static Object GetData(LocalDataStoreSlot slot) { m_LocalDataStoreMgr.ValidateSlot(slot); LocalDataStore dls = GetDomainLocalStore(); if (dls == null) { return(null); } return(dls.GetData(slot)); }
public static object GetData(LocalDataStoreSlot slot) => LocalDataStore.GetData(slot);