# Unsubscribe Method Unsubscribes the specified event handler from the event with the given origin. ## Definition **Namespace:** CapyKit **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d **C#** ``` C# public static void Unsubscribe( CapyEventHandler callback, string origin ) ``` **F#** ``` F# static member Unsubscribe : callback : CapyEventHandler * origin : string -> unit ``` #### Parameters
  CapyEventHandler
The event handler to unsubscribe.
  String
The name of the method or class where the subscription was made.
## See Also #### Reference CapyEventReporter Class CapyKit Namespace