コード例 #1
0
 /// <summary>
 /// Creates a web request to get the properties of the Queue service.
 /// </summary>
 /// <param name="uri">A <see cref="System.Uri"/> specifying the Queue service endpoint.</param>
 /// <param name="builder">A <see cref="UriQueryBuilder"/> object specifying additional parameters to add to the URI query string.</param>
 /// <param name="timeout">The server timeout interval, in seconds.</param>
 /// <param name="useVersionHeader">A boolean value indicating whether to set the <i>x-ms-version</i> HTTP header.</param>
 /// <param name="operationContext">An <see cref="OperationContext"/> object that represents the context for the current operation.</param>
 /// <returns>A <see cref="System.Net.HttpWebRequest"/> object.</returns>
 internal static HttpWebRequest GetServiceProperties(Uri uri, UriQueryBuilder builder, int?timeout, bool useVersionHeader, OperationContext operationContext)
 {
     return(HttpWebRequestFactory.GetServiceProperties(uri, builder, timeout, useVersionHeader, operationContext));
 }
コード例 #2
0
 /// <summary>
 /// Creates a web request to get the properties of the service.
 /// </summary>
 /// <param name="uri">The absolute URI to the service.</param>
 /// <param name="timeout">The server timeout interval, in seconds.</param>
 /// <param name="operationContext">An <see cref="OperationContext"/> object for tracking the current operation.</param>
 /// <returns>A web request to get the service properties.</returns>
 public static HttpWebRequest GetServiceProperties(Uri uri, UriQueryBuilder builder, int?timeout, OperationContext operationContext)
 {
     return(HttpWebRequestFactory.GetServiceProperties(uri, builder, timeout, operationContext));
 }