# UnregisterMessageHandler(string, Action<int, byte[]>)

> Unregisters a specific handler from a Channel.

## Definition

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

```csharp
public static void UnregisterMessageHandler(string channelName, Action<int, byte[]> handler)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The channel to stop processing messages on.**** (\[Action\<int, byte\[]>]\(https\://learn.microsoft.com/dotnet/api/system.action)): The handler to unregister.
