Skip to main content
Version: 2.x

Class OdinRoomHandle

An opaque type representing an ODIN room handle, which is managed by the underlying connection. This abstraction provides a high-level interface for joining rooms, managing persistent state and sending/receiving data, making it easier to integrate room-based interactions into your application.

Declaration
public class OdinRoomHandle : SafeHandleZeroOrMinusOneIsInvalid, IDisposable

Inheritance: System.Object -> System.Runtime.ConstrainedExecution.CriticalFinalizerObject -> System.Runtime.InteropServices.SafeHandle -> Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid

Implements:
System.IDisposable

Properties​

IsAlive​

Declaration
public bool IsAlive { get; }

Methods​

ReleaseHandle()​

When overridden in a derived class, executes the code required to free the handle.

Declaration
protected override bool ReleaseHandle()
Returns​

System.Boolean: true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false. In this case, it generates a releaseHandleFailed Managed Debugging Assistant.

Implements​

  • System.IDisposable