Skip to content

Instantly share code, notes, and snippets.

@HowardvanRooijen
Last active August 29, 2015 14:16
Show Gist options
  • Save HowardvanRooijen/25293249379fe6a1f9b0 to your computer and use it in GitHub Desktop.
Save HowardvanRooijen/25293249379fe6a1f9b0 to your computer and use it in GitHub Desktop.
LicensedCoresExceededException
public class LicensedCoresExceededException : LicenseViolationException
{
public LicensedCoresExceededException(int actualCoreCount)
{
this.ActualCoreCount = actualCoreCount;
}
public LicensedCoresExceededException(string message, int actualCoreCount) : base(message)
{
this.ActualCoreCount = actualCoreCount;
}
public int ActualCoreCount { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment