EventBindingService.ValidateMethodName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.