Edit

Share via


EventBindingService.ValidateMethodName(String) Method

Definition

Validates that the provided method name is valid for the language or script being used.

protected:
 virtual void ValidateMethodName(System::String ^ methodName);
protected virtual void ValidateMethodName (string methodName);
abstract member ValidateMethodName : string -> unit
override this.ValidateMethodName : string -> unit
Protected Overridable Sub ValidateMethodName (methodName As String)

Parameters

methodName
String

The method name to validate.

Remarks

The default implementation does nothing. You may override this and throw an exception if the name is invalid for your use.

Applies to