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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.