Share via


SmoothStreamingAsyncResult Constructor

Initializes a new instance of the SmoothStreamingAsyncResult class.

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

Public Sub New ( _
    callback As AsyncCallback, _
    state As Object, _
    callbackOnUIThread As Boolean _
)
'Usage

Dim callback As AsyncCallback
Dim state As Object
Dim callbackOnUIThread As Boolean

Dim instance As New SmoothStreamingAsyncResult(callback, _
    state, callbackOnUIThread)
public SmoothStreamingAsyncResult(
    AsyncCallback callback,
    Object state,
    bool callbackOnUIThread
)
public:
SmoothStreamingAsyncResult(
    AsyncCallback^ callback, 
    Object^ state, 
    bool callbackOnUIThread
)
new : 
        callback:AsyncCallback * 
        state:Object * 
        callbackOnUIThread:bool -> SmoothStreamingAsyncResult
public function SmoothStreamingAsyncResult(
    callback : AsyncCallback, 
    state : Object, 
    callbackOnUIThread : boolean
)

Parameters

  • state
    Type: System.Object
    Application state information that is supplied by the caller.
  • callbackOnUIThread
    Type: System.Boolean
    Indicates whether the callback is called on the UI thread for asynchronous completions. true if the callback is called on the UI thread for asynchronous completions; otherwise, false.

Version Information

Silverlight

Supported in: 5

See Also

Reference

SmoothStreamingAsyncResult Class

Microsoft.Web.Media.SmoothStreaming Namespace