[This is preliminary documentation and is subject to change.]
Returns a reference to the CloudBlobContainer with the given containerName
in the default account for this computation. The container will be created if it does not exist.
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 CloudBlobContainer DefaultBlobContainer( this Computation computation, string containerName )
Parameters
- computation
- Type: Microsoft.Research.NaiadComputation
The computation. - containerName
- Type: SystemString
The container name.
Return Value
Type: CloudBlobContainerA reference to the container.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Computation. 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).Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown when the Microsoft.Research.Naiad.Cluster.Azure.DefaultConnectionString setting is not set or has more than one value in AdditionalSettings |
ArgumentOutOfRangeException | Thrown when the Microsoft.Research.Naiad.Cluster.Azure.DefaultConnectionString setting cannot be parsed. |
See Also