次の方法で共有


File.CancelUpload メソッド

Stops the chunk upload session without saving the uploaded data. If the file doesn’t already exist in the library, the partially updated file will be deleted. Use this in response to user action (as in a request to cancel an upload) or an error or exception.

名前空間:  Microsoft.SharePoint.Client
アセンブリ:   Microsoft.SharePoint.Client.Silverlight (Microsoft.SharePoint.Client.Silverlight.dll 内);  Microsoft.SharePoint.Client.Phone (Microsoft.SharePoint.Client.Phone.dll 内)  Microsoft.SharePoint.Client (Microsoft.SharePoint.Client.dll 内)

構文

'宣言
Public Sub CancelUpload ( _
    uploadId As Guid _
)
'使用
Dim instance As File
Dim uploadId As Guid

instance.CancelUpload(uploadId)
public void CancelUpload(
    Guid uploadId
)

パラメーター

  • uploadId
    型: System.Guid

    The unique identifier of the upload session.

注釈

Use the uploadId value that was passed to the StartUpload(Guid, Stream) method that started the upload session.

This method is currently available only on Office 365.

関連項目

参照先

File クラス

File メンバー

Microsoft.SharePoint.Client 名前空間

Upload large files sample app for SharePoint