(ClientContext, String, EventHandler<OpenBinarySucceededEventArgs>, EventHandler<OpenBinaryFailedEventArgs>) del método File.OpenBinaryDirect
Espacio de nombres: Microsoft.SharePoint.Client
Ensamblados: Microsoft.SharePoint.Client.Silverlight (en Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (en Microsoft.SharePoint.Client.Phone.dll)
Sintaxis
'Declaración
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
- context
Tipo: Microsoft.SharePoint.Client.ClientContext
- serverRelativeUrl
Tipo: System.String
- succeededCallback
Tipo: System.EventHandler<OpenBinarySucceededEventArgs>
- failedCallback
Tipo: System.EventHandler<OpenBinaryFailedEventArgs>