Class TizenSynchronizationContext
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
- API Level:
- 3
Provides a synchronization context for the Tizen application model.
public class TizenSynchronizationContext : SynchronizationContext
- Inheritance
Methods
View SourceInitialize()
Initilizes a new TizenSynchronizationContext and install into the current thread.
Declaration
public static void Initialize()
Remarks
It is equivalent.
SetSynchronizationContext(new TizenSynchronizationContext());
API Level: 3
View SourcePost(SendOrPostCallback, Object)
Dispatches an asynchronous message to a Tizen main loop.
Declaration
public override void Post(SendOrPostCallback d, object state)
Parameters
Type | Name | Description |
---|---|---|
SendOrPostCallback | d | SendOrPostCallbackThe SendOrPostCallback delegate to call. |
Object | state | ObjectThe object passed to the delegate. |
Overrides
Remarks
The post method starts an asynchronous request to post a message.
API Level: 3
View SourceSend(SendOrPostCallback, Object)
Dispatches a synchronous message to a Tizen main loop.
Declaration
public override void Send(SendOrPostCallback d, object state)
Parameters
Type | Name | Description |
---|---|---|
SendOrPostCallback | d | SendOrPostCallbackThe SendOrPostCallback delegate to call. |
Object | state | ObjectThe object passed to the delegate. |
Overrides
Remarks
The send method starts a synchronous request to send a message.