C# Class Realms.RealmHandle

Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Afficher le fichier Open project: realm/realm-dotnet Class Usage Examples

Méthodes publiques

Méthode Description
ToString ( ) : string

Méthodes protégées

Méthode Description
Unbind ( ) : void

Override Unbind and put in code that actually calls core and unbinds whatever this handle is about. when this is called, it has already been verified that it is safe to call core - so just put in code that does the job.

Private Methods

Méthode Description
GetUnbindList ( ) : List
LockAndUndbindList ( ) : void
RealmHandle ( ) : System
RealmHandle ( RealmHandle root ) : System
ReleaseHandle ( ) : bool
RequestUnbind ( RealmHandle handleToUnbind ) : void

Called by children to this root, when they would like to be unbound, but are (possibly) running in a finalizer thread so it is (possibly) not safe to unbind then directly.

SetHandle ( IntPtr someHandle ) : void
UnbindLockedList ( ) : void

Method Details

ToString() public méthode

public ToString ( ) : string
Résultat string

Unbind() protected abstract méthode

Override Unbind and put in code that actually calls core and unbinds whatever this handle is about. when this is called, it has already been verified that it is safe to call core - so just put in code that does the job.
protected abstract Unbind ( ) : void
Résultat void