コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataService"/> class.
 /// </summary>
 /// <param name="authToken">
 /// The authentication token.
 /// </param>
 /// <param name="retrySettings">
 /// An instance of <see cref="RetrySettings"/> class, to define retry behavior for transient faults.
 /// </param>
 /// <param name="logger">
 /// An instance of a <see cref="ILogger"/> class.
 /// </param>
 public DataService(string authToken, RetrySettings retrySettings, ILogger logger)
     : this(new DataServiceContext(authToken), retrySettings, logger)
 {
 }