Class TizenSynchronizationContext

Definition

Namespace:
Tizen.Applications
Assembly:
Tizen.Applications.Common.dll
API Level:
3

Provides a synchronization context for the Tizen application model.

C#
Copy
public class TizenSynchronizationContext : SynchronizationContext
Inheritance
System.Object
System.Threading.SynchronizationContext
TizenSynchronizationContext

Methods

View Source

Initialize()

Initilizes a new TizenSynchronizationContext and install into the current thread.

Declaration
C#
Copy
public static void Initialize()
Remarks

It is equivalent.

Copy
SetSynchronizationContext(new TizenSynchronizationContext());
API Level: 3
View Source

Post(SendOrPostCallback, Object)

Dispatches an asynchronous message to a Tizen main loop.

Declaration
C#
Copy
public override void Post(SendOrPostCallback d, object state)
Parameters
Type Name Description
System.Threading.SendOrPostCallback d

System.Threading.SendOrPostCallbackThe SendOrPostCallback delegate to call.

System.Object state

System.ObjectThe object passed to the delegate.

Overrides
System.Threading.SynchronizationContext.Post(System.Threading.SendOrPostCallback, System.Object)
Remarks

The post method starts an asynchronous request to post a message.

API Level: 3
View Source

Send(SendOrPostCallback, Object)

Dispatches a synchronous message to a Tizen main loop.

Declaration
C#
Copy
public override void Send(SendOrPostCallback d, object state)
Parameters
Type Name Description
System.Threading.SendOrPostCallback d

System.Threading.SendOrPostCallbackThe SendOrPostCallback delegate to call.

System.Object state

System.ObjectThe object passed to the delegate.

Overrides
System.Threading.SynchronizationContext.Send(System.Threading.SendOrPostCallback, System.Object)
Remarks

The send method starts a synchronous request to send a message.

API Level: 3