---
title: "RemoteScriptingParameterCountException Constructor (String, Exception)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_WebControls_RemoteScriptingParameterCountException_ctor_2_232e81dd.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# RemoteScriptingParameterCountException Constructor (String, Exception)
 
Initializes a new instance of the [RemoteScriptingParameterCountException](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WebControls_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.WebControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WebControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WebControls (in Aurigma.GraphicsMill.WebControls.dll)
 
## Syntax
  
```
Public Sub New ( _message As String, _innerException As Exception _
)
```
 
```csharp
public RemoteScriptingParameterCountException(string message,Exception innerException
)
```
 
### Parameters
 
 - message
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
The error message that explains the reason for the exception.

 - innerException
     - Type: [System.Exception](http://msdn2.microsoft.com/en-us/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/gm5/T_Aurigma_GraphicsMill_WebControls_RemoteScriptingParameterCountException.htm.md)
- [RemoteScriptingParameterCountException Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WebControls_RemoteScriptingParameterCountException_ctor.htm.md)
- [Aurigma.GraphicsMill.WebControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WebControls.htm.md)
