File.OpenBinaryDirect Method (ClientContext, String, EventHandler<OpenBinarySucceededEventArgs>, EventHandler<OpenBinaryFailedEventArgs>)

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll)

Syntax

'Declaration
Public Shared Sub OpenBinaryDirect ( _
    context As ClientContext, _
    serverRelativeUrl As String, _
    succeededCallback As EventHandler(Of OpenBinarySucceededEventArgs), _
    failedCallback As EventHandler(Of OpenBinaryFailedEventArgs) _
)
'Usage
Dim context As ClientContext
Dim serverRelativeUrl As String
Dim succeededCallback As EventHandler(Of OpenBinarySucceededEventArgs)
Dim failedCallback As EventHandler(Of OpenBinaryFailedEventArgs)

File.OpenBinaryDirect(context, serverRelativeUrl, _
    succeededCallback, failedCallback)
public static void OpenBinaryDirect(
    ClientContext context,
    string serverRelativeUrl,
    EventHandler<OpenBinarySucceededEventArgs> succeededCallback,
    EventHandler<OpenBinaryFailedEventArgs> failedCallback
)

Parameters

See Also

Reference

File Class

File Members

OpenBinaryDirect Overload

Microsoft.SharePoint.Client Namespace