title: How to call .NET function/method from Quartz
body: <p>I know that many examples on the website are in C# although but I want to call a .NET function/method from Quartz and I'm using VB.Net.</p>
  
  <p>Many examples describe about how to open file/application/exe and so on which is external to .NET ... but I want to call something internal (vb function/method)</p>
  
  <p>How can i do that please? is it possible?</p>
  
  <p><strong>Please see below.</strong></p>
  
  <pre><code>'define the job and tie it to our HelloJob class
      IJobDetail job = JobBuilder.Create&lt;HelloJob&gt;()
          .WithIdentity(myMethod(), "group1")
          .Build();
  
  
  
  Sub myMethod()
      MsgBox("YES")
  End Sub
  </code></pre>