W3cubDocs

/Haxe C#

Context

package cs.system.runtime.remoting.contexts

@:libType@:csNative@:native("System.Runtime.Remoting.Contexts.Context") Available on cs

Constructor

@:final @:overload new ()

Variables

read only ContextID:Int

read only ContextProperties:NativeArray<IContextProperty>

Methods

@:final @:overload DoCallBack (deleg:CrossContextDelegate):Void

@:overload Freeze ():Void

@:overload GetProperty (name:String):IContextProperty

@:overload SetProperty (prop:IContextProperty):Void

@:overload ToString ():String

Static variables

static read only DefaultContext:Context

Static methods

@:final @:overload static AllocateDataSlot ():LocalDataStoreSlot

@:final @:overload static AllocateNamedDataSlot (name:String):LocalDataStoreSlot

@:final @:overload static FreeNamedDataSlot (name:String):Void

@:final @:overload static GetData (slot:LocalDataStoreSlot):Dynamic

@:final @:overload static GetNamedDataSlot (name:String):LocalDataStoreSlot

@:final @:overload static RegisterDynamicProperty (prop:IDynamicProperty, obj:ContextBoundObject, ctx:Context):Bool

@:final @:overload static SetData (slot:LocalDataStoreSlot, data:Dynamic):Void

@:final @:overload static UnregisterDynamicProperty (name:String, obj:ContextBoundObject, ctx:Context):Bool

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/runtime/remoting/contexts/Context.html