# CapyEventArgs Constructor Initializes a new instance of the CapyEventArgs class with the specified event level, message, and method name. ## Definition **Namespace:** CapyKit **Assembly:** CapyKit (in CapyKit.dll) Version: 1.0.2 **C#** ``` C# public CapyEventArgs( EventLevel level, string message, string method = null ) ``` **F#** ``` F# new : level : EventLevel * message : string * ?method : string (* Defaults: let _method = defaultArg method null *) -> CapyEventArgs ``` #### Parameters
  EventLevel
The severity level of the event.
  String
A descriptive message explaining the reason for the event.
  String  (Optional)
The name of the method where the event was raised.
## See Also #### Reference CapyEventArgs Class CapyKit Namespace