Beispiel #1
0
        public void TestAccount(StorageAccount account)
        {
            try
            {
                var table = AzureDiagnosticLogsTable <AzureDiagnosticLogEntry> .CreateTable(account, "WADLogsTable");

                AzureDiagnosticsUtils.FindFirstMessagePartitionKey(table);
            }
            catch (Exception exception)
            {
                RethrowStorageExceptionWithUserFriendlyMessage(exception);
                throw;
            }
        }
Beispiel #2
0
 public IAzureDiagnosticLogsTable CreateTable(StorageAccount account)
 {
     return(AzureDiagnosticLogsTable <WADWindowsEventLogsTableEntry> .CreateTable(account, "WADWindowsEventLogsTable"));
 }
Beispiel #3
0
 public IAzureDiagnosticLogsTable CreateTable(StorageAccount account)
 {
     return(AzureDiagnosticLogsTable <WADDiagnosticInfrastructureLogsTableEntry> .CreateTable(account, "WADDiagnosticInfrastructureLogsTable"));
 }
 public static AzureDiagnosticLogsTable <EntryType> CreateTable(StorageAccount account, string logsTableName)
 {
     return(account.AccountType == StorageAccount.Type.DevelopmentAccount ?
            AzureDiagnosticLogsTable <EntryType> .CreateDevelopmentTable(logsTableName) : new AzureDiagnosticLogsTable <EntryType>(account.ToCloudStorageAccount(), logsTableName));
 }