# SendEventWithLimit

> This API is used to send an Editor Analytics event. Note: This API is for internal use only and is likely change in the future. Do not use in user code.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## SendEventWithLimit(string, Object)

This API is used to send an Editor Analytics event. Note: This API is for internal use only and is likely change in the future. Do not use in user code.

> **Warning:**
>
> **Deprecated.** Editor Analytics APIs have changed significantly, please see: [https://docs.editor-data.unity3d.com/Contribute/EditorAnalytics/cs\_guide/](https://docs.editor-data.unity3d.com/Contribute/EditorAnalytics/cs_guide/)

```csharp
public static AnalyticsResult SendEventWithLimit(string eventName, object parameters)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Name of the event.**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): Additional event data.

### Returns

| Type            | Description |
| --------------- | ----------- |
| AnalyticsResult |             |

## SendEventWithLimit(string, Object, int)

This API is used to send an Editor Analytics event. Note: This API is for internal use only and is likely change in the future. Do not use in user code.

> **Warning:**
>
> **Deprecated.** Editor Analytics APIs have changed significantly, please see: [https://docs.editor-data.unity3d.com/Contribute/EditorAnalytics/cs\_guide/](https://docs.editor-data.unity3d.com/Contribute/EditorAnalytics/cs_guide/)

```csharp
public static AnalyticsResult SendEventWithLimit(string eventName, object parameters, int ver)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Name of the event.**** (\[Object]\(https\://learn.microsoft.com/dotnet/api/system.object)): Additional event data.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Event version number.

### Returns

| Type            | Description |
| --------------- | ----------- |
| AnalyticsResult |             |
