Click or drag to resize

Handler Class

A Handler object provides access to a single WinWrap Basic Sub or Function.
Inheritance Hierarchy
SystemObject
  WinWrap.Basic.ServerHandler

Namespace: WinWrap.Basic.Server
Assembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntax
public class Handler : IHandler, IDisposable

The Handler type exposes the following members.

Properties
 NameDescription
Public propertyExists Gets the Handler's existance state.
Public propertyIsModuleLoaded Gets the Handler's module loaded state.
Public propertyProcName Gets the procedure name for the Handler.
Public propertyPrototype Gets the prototype for the Handler.
Public propertyStepInto Gets or sets the Handler's step into mode.
Top
Methods
 NameDescription
Public methodCall Calls a sub or function.
Public methodCallPA Calls a sub or function.
Public methodDispose Releases the resources used by the Handler.
Protected methodDispose(Boolean) Releases the unmanaged resources and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEvaluate Evaluates a function and return a result.
Public methodEvaluatePA Evaluates a function and return a result.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReportError Reports an error generated during a Handler or Module object call.
Public methodStart Starts a sub.
Public methodStartPA Starts a sub.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
If you don't define the DoEvents event your application won't allow user input while Basic code is executing. Any break point, unhandled error or Stop instruction during a Handler call will freeze the application permanently.

WWB.NET: Connecting a Sub/Function to a handler requires the Handles keyword.

See Also