---
title: "CMInappropriateProfileException Constructor (String)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_CMInappropriateProfileException_ctor_1_362212bd.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/)

# CMInappropriateProfileException Constructor (String)
 
Initializes a new instance of the [CMInappropriateProfileException](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CMInappropriateProfileException.htm.md) class with a name of the profile which causes a error.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _profileName As String _
)
```
 
```csharp
public CMInappropriateProfileException(string profileName
)
```
 
### Parameters
 
 - profileName
     - Type: [System.String](http://msdn2.microsoft.com/en-us/s1wwdcbf)
The name of the profile which causes the error.
   
## See Also

### Reference

- [CMInappropriateProfileException Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CMInappropriateProfileException.htm.md)
- [CMInappropriateProfileException Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_CMInappropriateProfileException_ctor.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
