/// <summary>
 /// Initializes a new instance of the <see cref="InvalidApiUsageException"/> class.
 /// </summary>
 /// <param name="usageError">The usage error associated with this exception.</param>
 /// <param name="message">The message that describes the error.</param>
 public InvalidApiUsageException(ApiUsageError usageError, string message)
     : base(message)
 {
     UsageError = usageError;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InvalidApiUsageException"/> class.
 /// </summary>
 /// <param name="usageError">The usage error associated with this exception.</param>
 /// <param name="message">The message that describes the error.</param>
 public InvalidApiUsageException(ApiUsageError usageError, string message)
     : base(message)
 {
     UsageError = usageError;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InvalidApiUsageException"/> class.
 /// </summary>
 /// <param name="usageError">The usage error associated with this exception.</param>
 public InvalidApiUsageException(ApiUsageError usageError) : this(usageError, null)
 { }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InvalidApiUsageException"/> class.
 /// </summary>
 /// <param name="usageError">The usage error associated with this exception.</param>
 public InvalidApiUsageException(ApiUsageError usageError) : this(usageError, null)
 {
 }