diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-10 21:49:43 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-02-10 21:49:43 -0800 |
commit | 04426dfbba325fd4ed308a6c9c6c103fed14ff13 (patch) | |
tree | f1b8b9245a3fe3b3ab6fa0f2f54db86463dc3099 /src/DotNetOpenAuth.Core/Messaging/Channel.cs | |
parent | 938a79f28b0fb5718cc58f8f20be5d4207bc189f (diff) | |
download | DotNetOpenAuth-04426dfbba325fd4ed308a6c9c6c103fed14ff13.zip DotNetOpenAuth-04426dfbba325fd4ed308a6c9c6c103fed14ff13.tar.gz DotNetOpenAuth-04426dfbba325fd4ed308a6c9c6c103fed14ff13.tar.bz2 |
More warning fixes.
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/Channel.cs')
-rw-r--r-- | src/DotNetOpenAuth.Core/Messaging/Channel.cs | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/Channel.cs b/src/DotNetOpenAuth.Core/Messaging/Channel.cs index 0dc31b8..6aaf8ea 100644 --- a/src/DotNetOpenAuth.Core/Messaging/Channel.cs +++ b/src/DotNetOpenAuth.Core/Messaging/Channel.cs @@ -387,7 +387,10 @@ namespace DotNetOpenAuth.Messaging { /// Gets the protocol message that may be embedded in the given HTTP request. /// </summary> /// <param name="httpRequest">The request to search for an embedded message.</param> - /// <returns>The deserialized message, if one is found. Null otherwise.</returns> + /// <param name="cancellationToken">The cancellation token.</param> + /// <returns> + /// The deserialized message, if one is found. Null otherwise. + /// </returns> public async Task<IDirectedProtocolMessage> ReadFromRequestAsync(HttpRequestBase httpRequest, CancellationToken cancellationToken) { Requires.NotNull(httpRequest, "httpRequest"); @@ -476,10 +479,11 @@ namespace DotNetOpenAuth.Messaging { /// </summary> /// <param name="message">The message just received.</param> /// <param name="cancellationToken">The cancellation token.</param> - /// <exception cref="ProtocolException"> - /// Thrown when the message is somehow invalid. - /// This can be due to tampering, replay attack or expiration, among other things. - /// </exception> + /// <returns> + /// A task that completes with the asynchronous operation. + /// </returns> + /// <exception cref="ProtocolException">Thrown when the message is somehow invalid. + /// This can be due to tampering, replay attack or expiration, among other things.</exception> internal Task ProcessIncomingMessageTestHookAsync(IProtocolMessage message, CancellationToken cancellationToken) { return this.ProcessIncomingMessageAsync(message, cancellationToken); } @@ -525,7 +529,9 @@ namespace DotNetOpenAuth.Messaging { /// </summary> /// <param name="message">The message to prepare for sending.</param> /// <param name="cancellationToken">The cancellation token.</param> - /// <returns></returns> + /// <returns> + /// A task that completes with the asynchronous operation. + /// </returns> /// <remarks> /// This method should NOT be called by derived types /// except when sending ONE WAY request messages. @@ -962,7 +968,9 @@ namespace DotNetOpenAuth.Messaging { /// </summary> /// <param name="message">The message to prepare for sending.</param> /// <param name="cancellationToken">The cancellation token.</param> - /// <returns></returns> + /// <returns> + /// A task that completes with the asynchronous operation. + /// </returns> /// <exception cref="UnprotectedMessageException"></exception> /// <remarks> /// This method should NOT be called by derived types @@ -1134,10 +1142,12 @@ namespace DotNetOpenAuth.Messaging { /// </summary> /// <param name="message">The message just received.</param> /// <param name="cancellationToken">The cancellation token.</param> - /// <exception cref="ProtocolException"> - /// Thrown when the message is somehow invalid. - /// This can be due to tampering, replay attack or expiration, among other things. - /// </exception> + /// <returns> + /// A task that completes with the asynchronous operation. + /// </returns> + /// <exception cref="UnprotectedMessageException"></exception> + /// <exception cref="ProtocolException">Thrown when the message is somehow invalid. + /// This can be due to tampering, replay attack or expiration, among other things.</exception> protected virtual async Task ProcessIncomingMessageAsync(IProtocolMessage message, CancellationToken cancellationToken) { Requires.NotNull(message, "message"); |