ExtensionMethodsWriteCustomBinaryToAzureBlobsTRecord Method Naiad Help

[This is preliminary documentation and is subject to change.]

Writes records to binary files in an Azure directory.

Namespace: Microsoft.Research.Naiad.Frameworks.Azure
Assembly: Microsoft.Research.Naiad.AzureSupport (in Microsoft.Research.Naiad.AzureSupport.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
public static Subscription WriteCustomBinaryToAzureBlobs<TRecord>(
	this Stream<TRecord, Epoch> source,
	CloudBlobContainer container,
	string format,
	Action<BinaryWriter, TRecord> writeAction
)

Parameters

source
Type: Microsoft.Research.NaiadStreamTRecord, Epoch
Source stream
container
Type: CloudBlobContainer
Azure container
format
Type: SystemString
Format string for filenames, where {0} is the process ID and {1} is the worker ID
writeAction
Type: SystemActionBinaryWriter, TRecord
Action for writing a record to a binary writer

Type Parameters

TRecord
Type of records to be written

Return Value

Type: Subscription
Subscription corresponding to the Azure writer

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StreamTRecord, Epoch. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference