Compartilhar via


File.OpenBinaryDirect método (ClientContext, String, EventHandler<OpenBinarySucceededEventArgs>, EventHandler<OpenBinaryFailedEventArgs>)

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (em Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (em Microsoft.SharePoint.Client.Phone.dll)

Sintaxe

'Declaração
Public Shared Sub OpenBinaryDirect ( _
    context As ClientContext, _
    serverRelativeUrl As String, _
    succeededCallback As EventHandler(Of OpenBinarySucceededEventArgs), _
    failedCallback As EventHandler(Of OpenBinaryFailedEventArgs) _
)
'Uso
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
)

Parâmetros

Ver também

Referência

File classe

File membros

OpenBinaryDirect em sobrecarga

Microsoft.SharePoint.Client namespace