Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Storage Client Library 2.0.3 Hotfix

  • Loading branch information...
commit 198b41ffa9db3b93732f00a02823a35db729d322 1 parent f998bee
@sozler-msft sozler-msft authored
View
2  microsoft-azure-api/Services/Storage/Lib/Common/Core/NullType.cs
@@ -20,7 +20,7 @@ namespace Microsoft.WindowsAzure.Storage.Core
/// <summary>
/// A NullTaskReturn type.
/// </summary>
- public class NullType
+ public sealed class NullType
{
/// <summary>
/// Represents a no-return from a task.
View
42 microsoft-azure-api/Services/Storage/Lib/Common/Queue/CloudQueueMessageBase.cs
@@ -31,17 +31,53 @@ public sealed partial class CloudQueueMessage
/// <summary>
/// The maximum message size in bytes.
/// </summary>
- internal static readonly long MaxMessageSize = 64 * Constants.KB;
+ private const long MaximumMessageSize = 64 * Constants.KB;
+
+ /// <summary>
+ /// Gets the maximum message size in bytes.
+ /// </summary>
+ /// <value>The maximum message size in bytes.</value>
+ public static long MaxMessageSize
+ {
+ get
+ {
+ return MaximumMessageSize;
+ }
+ }
/// <summary>
/// The maximum amount of time a message is kept in the queue.
/// </summary>
- internal static readonly TimeSpan MaxTimeToLive = TimeSpan.FromDays(7);
+ private static readonly TimeSpan MaximumTimeToLive = TimeSpan.FromDays(7);
+
+ /// <summary>
+ /// Gets the maximum amount of time a message is kept in the queue.
+ /// </summary>
+ /// <value>The maximum amount of time a message is kept in the queue.</value>
+ public static TimeSpan MaxTimeToLive
+ {
+ get
+ {
+ return MaximumTimeToLive;
+ }
+ }
/// <summary>
/// The maximum number of messages that can be peeked at a time.
/// </summary>
- internal static readonly int MaxNumberOfMessagesToPeek = 32;
+ private const int MaximumNumberOfMessagesToPeek = 32;
+
+ /// <summary>
+ /// Gets the maximum number of messages that can be peeked at a time.
+ /// </summary>
+ /// <value>The maximum number of messages that can be peeked at a time.</value>
+ public static int MaxNumberOfMessagesToPeek
+ {
+ get
+ {
+ return MaximumNumberOfMessagesToPeek;
+ }
+ }
/// <summary>
/// Custom UTF8Encoder to throw exception in case of invalid bytes.
View
4 microsoft-azure-api/Services/Storage/Lib/Common/Queue/Protocol/QueueMessage.cs
@@ -22,7 +22,11 @@ namespace Microsoft.WindowsAzure.Storage.Queue.Protocol
/// <summary>
/// Represents a message retrieved from a queue.
/// </summary>
+#if !RTMD
public class QueueMessage
+#else
+ internal class QueueMessage
+#endif
{
/// <summary>
/// Initializes a new instance of the <see cref="QueueMessage"/> class.
Please sign in to comment.
Something went wrong with that request. Please try again.