Provides a (weak reference) cache for remote object references. Should be used in conjunction with InvokeRemotely().
|C#||Visual Basic||Visual C++|
public class RefCache
Public Class RefCache
public ref class RefCache
Initializes a new instance of theclass
Cleans up all cache entries which have been garbage collected. This does not invalidate any RemoteRef objects whose target have not been GC'ed.
Clears all entries from the cache. This results in invalidating all RemoteRef objects.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the object referred to by the given remote reference. If the object does not exist, or has been garbage collected, the methods returns null.
Gets a serializable, opaque remote reference for a given object.
Gets the type of the current instance.(Inherited from Object.)
Invalidates the remote reference and thereby releases resources for the reference in the cache.
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 18.104.22.16882 (22.214.171.12482)