< Summary

Class:Azure.Storage.Queues.Specialized.SpecializedQueueClientOptions
Assembly:Azure.Storage.Queues
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Queues\src\SpecializedQueueClientOptions.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:42
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%100%
get_ClientSideEncryption()-0%100%
set_ClientSideEncryption(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Queues\src\SpecializedQueueClientOptions.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using System.Threading.Tasks;
 6using Azure.Storage.Queues.Models;
 7
 8namespace Azure.Storage.Queues.Specialized
 9{
 10    /// <summary>
 11    /// Provides advanced client configuration options for connecting to Azure Queue
 12    /// Storage.
 13    /// </summary>
 14#pragma warning disable AZC0008 // ClientOptions should have a nested enum called ServiceVersion; This is an extension o
 15    public class SpecializedQueueClientOptions : QueueClientOptions
 16#pragma warning restore AZC0008 // ClientOptions should have a nested enum called ServiceVersion
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the <see cref="QueueClientOptions"/>
 20        /// class.
 21        /// </summary>
 22        /// <param name="version">
 23        /// The <see cref="QueueClientOptions.ServiceVersion"/> of the service API used when
 24        /// making requests.
 25        /// </param>
 026        public SpecializedQueueClientOptions(ServiceVersion version = LatestVersion) : base(version)
 27        {
 028        }
 29
 30        /// <summary>
 31        /// Settings for data encryption within the SDK. Client-side encryption adds metadata to your queue
 32        /// messages which is necessary to maintain for decryption.
 33        ///
 34        /// For more information, see <a href="https://docs.microsoft.com/en-us/azure/storage/common/storage-client-side
 35        /// </summary>
 36        public ClientSideEncryptionOptions ClientSideEncryption
 37        {
 038            get => _clientSideEncryptionOptions;
 039            set => _clientSideEncryptionOptions = value;
 40        }
 41    }
 42}