November 03, 2013For apps that target Windows Phone OS 7.0 and 7.1, do not use this member in your app. If you do, your code will throw a MethodAccessException. This member is security-critical, which restricts it to internal use by the .NET Framework for Windows Phone class library.
[SECURITY CRITICAL]Namespace: System.Threading.Tasks
Determines whether the provided Task can be executed synchronously in this call, and if it can, executes it.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] protected abstract bool TryExecuteTaskInline( Task task, bool taskWasPreviouslyQueued )
- Type: System.Boolean
A Boolean denoting whether or not task has previously been queued. If this parameter is True, then the task may have been previously queued (scheduled); if False, then the task is known not to have been queued, and this call is being made in order to execute the task inline without queuing it.
Return ValueType: System.Boolean
A Boolean value indicating whether the task was executed inline.