> For the complete documentation index, see [llms.txt](https://docs.soraco.co/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.soraco.co/docs/api-reference/.net-api/qlmlicense/properties/offlineperiodexceededaction.md).

# OfflinePeriodExceededAction

Set or get the action to be performed when the MaxDaysOffline threshold is reached.

The possible values are:

**DoNothing**: No action is taken.

**ExitApp**: The application exits.

**FireEvent**: An event that you can subscribe to is fired. *This is only supported in .NET Framework apps.*

**Event signature**:&#x20;

public void OfflinePeriodExceeded\_EventHandler(object sender, OfflinePeriodExceeded\_EventArgs e);

**Arguments**:

string errorMessage: an error message\
int offlinePeriod: the number of days the client was offline\
EServerErrorCode errorCode: the server error code

**ThrowException**: An exception is thrown. If you do not handle exceptions everywhere in your code, this will most likely crash your application.&#x20;
