Microsoft.JScript.VsaStaticCode.AddEventSource C# (CSharp) Method

AddEventSource() public method

public AddEventSource ( string eventSourceName, string eventSourceType ) : void
eventSourceName string
eventSourceType string
return void
      public void AddEventSource(string eventSourceName, string eventSourceType) {
        // JScript does not support adding event sources (user must add an AppGlobal instead and manually hook up event handlers)
        if (this.engine == null)
          throw new VsaException(VsaError.EngineClosed);
        throw new System.NotSupportedException();
      }