< Summary

Class:Microsoft.Azure.ServiceBus.Amqp.AmqpClientConstants
Assembly:Microsoft.Azure.ServiceBus
File(s):C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\Amqp\AmqpClientConstants.cs
Covered lines:0
Uncovered lines:30
Coverable lines:30
Total lines:67
Line coverage:0% (0 of 30)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.cctor()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\servicebus\Microsoft.Azure.ServiceBus\src\Amqp\AmqpClientConstants.cs

#LineLine coverage
 1// Copyright (c) Microsoft. All rights reserved.
 2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
 3
 4namespace Microsoft.Azure.ServiceBus.Amqp
 5{
 6    using System;
 7    using Microsoft.Azure.Amqp;
 8    using Microsoft.Azure.Amqp.Encoding;
 9
 10    class AmqpClientConstants
 11    {
 12        // AMQP Management Operation
 13        public const string ManagementAddress = "$management";
 14        public const string EntityTypeManagement = "entity-mgmt";
 15        public const string EntityNameKey = "name";
 16        public const string PartitionNameKey = "partition";
 17        public const string ManagementOperationKey = "operation";
 18        public const string ReadOperationValue = "READ";
 19        public const string ManagementEntityTypeKey = "type";
 20        public const string ManagementSecurityTokenKey = "security_token";
 21
 22        // Filters
 23        public const string FilterOffsetPartName = "amqp.annotation.x-opt-offset";
 24        public const string FilterOffset = FilterOffsetPartName + " > ";
 25        public const string FilterInclusiveOffset = FilterOffsetPartName + " >= ";
 26        public const string FilterOffsetFormatString = FilterOffset + "'{0}'";
 27        public const string FilterInclusiveOffsetFormatString = FilterInclusiveOffset + "'{0}'";
 28        public const string FilterReceivedAtPartNameV1 = "amqp.annotation.x-opt-enqueuedtimeutc";
 29        public const string FilterReceivedAtPartNameV2 = "amqp.annotation.x-opt-enqueued-time";
 30        public const string FilterReceivedAt = FilterReceivedAtPartNameV2 + " > ";
 31        public const string FilterReceivedAtFormatString = FilterReceivedAt + "{0}";
 032        public static readonly AmqpSymbol SessionFilterName = AmqpConstants.Vendor + ":session-filter";
 033        public static readonly AmqpSymbol MessageReceiptsFilterName = AmqpConstants.Vendor + ":message-receipts-filter";
 034        public static readonly AmqpSymbol ClientSideCursorFilterName = AmqpConstants.Vendor + ":client-side-filter";
 035        public static readonly TimeSpan ClientMinimumTokenRefreshInterval = TimeSpan.FromMinutes(4);
 36
 37        // Properties
 038        public static readonly AmqpSymbol AttachEpoch = AmqpConstants.Vendor + ":epoch";
 039        public static readonly AmqpSymbol BatchFlushIntervalName = AmqpConstants.Vendor + ":batch-flush-interval";
 040        public static readonly AmqpSymbol EntityTypeName = AmqpConstants.Vendor + ":entity-type";
 041        public static readonly AmqpSymbol TransferDestinationAddress = AmqpConstants.Vendor + ":transfer-destination-add
 042        public static readonly AmqpSymbol TimeoutName = AmqpConstants.Vendor + ":timeout";
 043        public static readonly AmqpSymbol TrackingIdName = AmqpConstants.Vendor + ":tracking-id";
 44
 45        // Error codes
 046        public static readonly AmqpSymbol DeadLetterName = AmqpConstants.Vendor + ":dead-letter";
 047        public static readonly AmqpSymbol TimeoutError = AmqpConstants.Vendor + ":timeout";
 048        public static readonly AmqpSymbol AddressAlreadyInUseError = AmqpConstants.Vendor + ":address-already-in-use";
 049        public static readonly AmqpSymbol AuthorizationFailedError = AmqpConstants.Vendor + ":auth-failed";
 050        public static readonly AmqpSymbol MessageLockLostError = AmqpConstants.Vendor + ":message-lock-lost";
 051        public static readonly AmqpSymbol SessionLockLostError = AmqpConstants.Vendor + ":session-lock-lost";
 052        public static readonly AmqpSymbol StoreLockLostError = AmqpConstants.Vendor + ":store-lock-lost";
 053        public static readonly AmqpSymbol SessionCannotBeLockedError = AmqpConstants.Vendor + ":session-cannot-be-locked
 054        public static readonly AmqpSymbol NoMatchingSubscriptionError = AmqpConstants.Vendor + ":no-matching-subscriptio
 055        public static readonly AmqpSymbol ServerBusyError = AmqpConstants.Vendor + ":server-busy";
 056        public static readonly AmqpSymbol ArgumentError = AmqpConstants.Vendor + ":argument-error";
 057        public static readonly AmqpSymbol ArgumentOutOfRangeError = AmqpConstants.Vendor + ":argument-out-of-range";
 058        public static readonly AmqpSymbol PartitionNotOwnedError = AmqpConstants.Vendor + ":partition-not-owned";
 059        public static readonly AmqpSymbol EntityDisabledError = AmqpConstants.Vendor + ":entity-disabled";
 060        public static readonly AmqpSymbol PublisherRevokedError = AmqpConstants.Vendor + ":publisher-revoked";
 061        public static readonly AmqpSymbol OperationCancelledError = AmqpConstants.Vendor + ":operation-cancelled";
 062        public static readonly AmqpSymbol EntityAlreadyExistsError = AmqpConstants.Vendor + ":entity-already-exists";
 063        public static readonly AmqpSymbol RelayNotFoundError = AmqpConstants.Vendor + ":relay-not-found";
 064        public static readonly AmqpSymbol MessageNotFoundError = AmqpConstants.Vendor + ":message-not-found";
 065        public static readonly AmqpSymbol LockedUntilUtc = AmqpConstants.Vendor + ":locked-until-utc";
 66    }
 67}

Methods/Properties

.cctor()