Click to Rate and Give Feedback
MSDN
MSDN Library

  Switch on low bandwidth view
ExtendedWeakReference Class
Represents an extended weak reference, which references an object but still leaves it prone to garbage collection.

Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in microsoft.spot.native.dll)

C#
 public class ExtendedWeakReference WeakReference  
When the object referred to by the extended weak references has no live references to it, it will be stored in a serialized format. Thus, the target of an ExtendedWeakRefernence object must be serializable. You use a selector and an identifier to identify a group of one or more weak references. The selector should be a type known only to the user of the ExtendedWeakReference object. Note that you can use the same selector with multiple IDs to create groups of ExtendedWeakReference objects.

Available in .NET Micro Framework version 2.0, 2.5

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker