コード例 #1
0
 ThrowPromptNotInteractive(string promptMessage)
 {
     string message = StringUtil.Format(HostInterfaceExceptionsStrings.HostFunctionPromptNotImplemented, promptMessage);
     HostException e = new HostException(
         message,
         null,
         "HostFunctionNotImplemented",
         ErrorCategory.NotImplemented);
     throw e;
 }
コード例 #2
0
 ThrowNotInteractive()
 {
     // It might be interesting to do something like
     // GetCallingMethodAndParameters here and display the name,
     // but I don't want to put that in mainline non-trace code.
     string message = HostInterfaceExceptionsStrings.HostFunctionNotImplemented;
     HostException e = new HostException(
         message,
         null,
         "HostFunctionNotImplemented",
         ErrorCategory.NotImplemented);
     throw e;
 }