private void ValidateStorageAccountKey() { this.StorageAccountKey = this.StorageAccountKey ?? DiagnosticsHelper.InitializeStorageAccountKey(this.StorageClient, this.StorageAccountName, this.DiagnosticsConfigurationPath); if (string.IsNullOrEmpty(this.StorageAccountKey)) { throw new ArgumentException(Resources.DiagnosticsExtensionNullStorageAccountKey); } }