Application.DeferredInvoke Method

Schedules a callback to occur at a future time on the application thread.

Overload List

  public static void DeferredInvoke(
  DeferredHandler  
  method
);
public static void DeferredInvoke(
  DeferredHandler  method, 
  object  args
);
public static void DeferredInvoke(
  DeferredHandler  method, 
  TimeSpan  delay
);
public static void DeferredInvoke(
  DeferredHandler  method, 
  object  args, 
  TimeSpan  delay
);

Parameters

method

Microsoft.MediaCenter.UI.DeferredHandler.  The callback method.

args

System.Object.  The arguments to the callback method.

delay

System.TimeSpan.  The delay before the callback.

Remarks

Background threads use this method. This method is safe to call from any thread.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also