コード例 #1
0
 private void SetStateWithSetupError()
 {
     HasError         = true;
     ValidationResult = new RequestValidationResult(
         "ConnectorDiagnosticsRedirect",
         redirectUrl: "https://api2.queue-it.net/diagnostics/connector/error/?code=setup"
         );
 }
コード例 #2
0
 private void SetStateWithTokenError(string customerId, string errorCode)
 {
     HasError         = true;
     ValidationResult = new RequestValidationResult(
         "ConnectorDiagnosticsRedirect",
         redirectUrl: string.Format("https://{0}.api2.queue-it.net/{0}/diagnostics/connector/error/?code={1}", customerId, errorCode)
         );
 }