Class BlobRequest
- Namespace
- Microsoft.WindowsAzure.Storage.Blob.Protocol
- Assembly
- Microsoft.WindowsAzure.Storage.dll
Provides a set of helper methods for constructing a request against the Blob service.
public static class BlobRequest
- Inheritance
-
BlobRequest
- Inherited Members
Methods
WriteBlockListBody(IEnumerable<PutBlockListItem>, Stream)
Writes the body of the block list to the specified stream in XML format.
public static void WriteBlockListBody(IEnumerable<PutBlockListItem> blocks, Stream outputStream)
Parameters
blocks
IEnumerable<PutBlockListItem>An enumerable collection of PutBlockListItem objects.
outputStream
StreamThe stream to which the block list is written.
WriteSharedAccessIdentifiers(SharedAccessBlobPolicies, Stream)
Writes a collection of shared access policies to the specified stream in XML format.
public static void WriteSharedAccessIdentifiers(SharedAccessBlobPolicies sharedAccessPolicies, Stream outputStream)
Parameters
sharedAccessPolicies
SharedAccessBlobPoliciesA collection of shared access policies.
outputStream
StreamAn output stream.