---
title: "RemoteScriptingParameterCountException Constructor (String, Exception)"
canonical: https://www.graphicsmill.com/docs/gmwc/C_Aurigma_GraphicsMill_AjaxControls_RemoteScriptingParameterCountException_ctor_2_232e81dd.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# RemoteScriptingParameterCountException Constructor (String, Exception)

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Initializes a new instance of the [RemoteScriptingParameterCountException](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_RemoteScriptingParameterCountException.htm.md) class with a with a specified error message and a reference to the inner exception that is the cause of this exception.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```csharp
public RemoteScriptingParameterCountException(string message,Exception innerException
)
```
 
### Parameters
 
 - message
     - Type: [System..String](http://msdn2.microsoft.com/en-us/library/s1wwdcbf)
The error message that explains the reason for the exception.

 - innerException
     - Type: [System..Exception](http://msdn2.microsoft.com/en-us/library/c18k6c59)
The exception that is the cause of the current exception. If the *innerException* parameter is not a null reference, the current exception is raised in a **catch** block that handles the inner exception.
   
## See Also

### Reference

- [RemoteScriptingParameterCountException Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_RemoteScriptingParameterCountException.htm.md)
- [RemoteScriptingParameterCountException Overload](https://www.graphicsmill.com/docs/gmwc/O_T_Aurigma_GraphicsMill_AjaxControls_RemoteScriptingParameterCountException_ctor.htm.md)
- [Aurigma.GraphicsMill.AjaxControls Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls.htm.md)
