Jaa


AzureBlobStorage Constructors

Definition

Overloads

AzureBlobStorage(CloudStorageAccount, String)

Initializes a new instance of the AzureBlobStorage class.

AzureBlobStorage(String, String)

Initializes a new instance of the AzureBlobStorage class.

AzureBlobStorage(CloudStorageAccount, String, JsonSerializer)

Initializes a new instance of the AzureBlobStorage class.

AzureBlobStorage(CloudStorageAccount, String)

Initializes a new instance of the AzureBlobStorage class.

public AzureBlobStorage (Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, string containerName);
new Microsoft.Bot.Builder.Azure.AzureBlobStorage : Microsoft.WindowsAzure.Storage.CloudStorageAccount * string -> Microsoft.Bot.Builder.Azure.AzureBlobStorage
Public Sub New (storageAccount As CloudStorageAccount, containerName As String)

Parameters

storageAccount
Microsoft.WindowsAzure.Storage.CloudStorageAccount

Azure CloudStorageAccount instance.

containerName
String

Name of the Blob container where entities will be stored.

Applies to

AzureBlobStorage(String, String)

Initializes a new instance of the AzureBlobStorage class.

public AzureBlobStorage (string dataConnectionstring, string containerName);
new Microsoft.Bot.Builder.Azure.AzureBlobStorage : string * string -> Microsoft.Bot.Builder.Azure.AzureBlobStorage
Public Sub New (dataConnectionstring As String, containerName As String)

Parameters

dataConnectionstring
String

Azure Storage connection string.

containerName
String

Name of the Blob container where entities will be stored.

Applies to

AzureBlobStorage(CloudStorageAccount, String, JsonSerializer)

Initializes a new instance of the AzureBlobStorage class.

public AzureBlobStorage (Microsoft.WindowsAzure.Storage.CloudStorageAccount storageAccount, string containerName, Newtonsoft.Json.JsonSerializer jsonSerializer);
new Microsoft.Bot.Builder.Azure.AzureBlobStorage : Microsoft.WindowsAzure.Storage.CloudStorageAccount * string * Newtonsoft.Json.JsonSerializer -> Microsoft.Bot.Builder.Azure.AzureBlobStorage
Public Sub New (storageAccount As CloudStorageAccount, containerName As String, jsonSerializer As JsonSerializer)

Parameters

storageAccount
Microsoft.WindowsAzure.Storage.CloudStorageAccount

Azure CloudStorageAccount instance.

containerName
String

Name of the Blob container where entities will be stored.

jsonSerializer
Newtonsoft.Json.JsonSerializer

If passing in a custom JsonSerializer, we recommend the following settings:

jsonSerializer.TypeNameHandling = TypeNameHandling.All.

jsonSerializer.NullValueHandling = NullValueHandling.Include.

jsonSerializer.ContractResolver = new DefaultContractResolver().

Applies to