UploadChunk Method
Upload a portion of the import file to the server.
Namespace: Microsoft.CommerceServer.Marketing.WebService
Assembly: Microsoft.CommerceServer.Marketing.DataManagement (in Microsoft.CommerceServer.Marketing.DataManagement.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute(Action := "https://schemas.microsoft.com/CommerceServer/2004/02/UploadService/UploadChunk", _
RequestNamespace := "https://schemas.microsoft.com/CommerceServer/2004/02/UploadService", _
ResponseNamespace := "https://schemas.microsoft.com/CommerceServer/2004/02/UploadService")> _
<WebMethodAttribute> _
Public Overridable Sub UploadChunk ( _
token As Guid, _
ordinal As Integer, _
data As Byte() _
)
'Usage
Dim instance As MarketingWebService
Dim token As Guid
Dim ordinal As Integer
Dim data As Byte()
instance.UploadChunk(token, ordinal, data)
[SoapDocumentMethodAttribute(Action = "https://schemas.microsoft.com/CommerceServer/2004/02/UploadService/UploadChunk",
RequestNamespace = "https://schemas.microsoft.com/CommerceServer/2004/02/UploadService",
ResponseNamespace = "https://schemas.microsoft.com/CommerceServer/2004/02/UploadService")]
[WebMethodAttribute]
public virtual void UploadChunk(
Guid token,
int ordinal,
byte[] data
)
[SoapDocumentMethodAttribute(Action = L"https://schemas.microsoft.com/CommerceServer/2004/02/UploadService/UploadChunk",
RequestNamespace = L"https://schemas.microsoft.com/CommerceServer/2004/02/UploadService",
ResponseNamespace = L"https://schemas.microsoft.com/CommerceServer/2004/02/UploadService")]
[WebMethodAttribute]
public:
virtual void UploadChunk(
Guid token,
int ordinal,
array<unsigned char>^ data
)
public function UploadChunk(
token : Guid,
ordinal : int,
data : byte[]
)
Parameters
- token
Type: System..::.Guid
The token identifying the import file.
- ordinal
Type: System..::.Int32
The ordinal which uniquely identifies this chunk (chunk index).
- data
Type: array<System..::.Byte>[]()[]
The actual data to be uploaded. .
Remarks
This method is used to upload the next chunk of the import file.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.