CodeGenerationHelper.GetMethodException(MethodBase, 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.
public:
static Exception ^ GetMethodException(System::Reflection::MethodBase ^ method, System::String ^ msg);
public static Exception GetMethodException (System.Reflection.MethodBase method, string msg);
static member GetMethodException : System.Reflection.MethodBase * string -> Exception
Public Shared Function GetMethodException (method As MethodBase, msg As String) As Exception
Parameters
- method
- MethodBase
- msg
- String