New (DaemonLost constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (match syntax table to syntax template, tags and edits)
Line 1: Line 1:
{{Template:DaemonLost:New subtitle}}
{{Template:DaemonLost:New subtitle}}
This constructor generates an instance of a <var>[[DaemonLost_class|DaemonLost]]</var> exception.  As shown below, the optional argument of the <var>New</var> method is a setting of the <var class="term">[[DaemonOutput_(DaemonLost_property)|DaemonOutput]]</var> property.


This constructor generates an instance of a DaemonLost exception.
As shown below, the optional argument of the New method is a setting of
the DaemonOutput property.
==Syntax==
==Syntax==
{{Template:DaemonLost:New syntax}}
{{Template:DaemonLost:New syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%dLost</th>
<tr><th>%daemonLost</th>
<td>A reference to an instance of a DaemonLost object.
<td>A reference to an instance of a <var>DaemonLost</var> object.
</td></tr>
</td></tr>
<tr><th><b>DaemonOutput=</b>outputList</th>
<tr><th>%(DaemonLost)</th>
<td>This name required parameter specifies the Stringlist (''outputList'') to be assigned to the DaemonLost exception object's DaemonOutput property when a daemon thread is lost.
<td>The class name in parentheses denotes a shared method.</td></tr>
<tr><th>daemonOutput</th>
<td>This optional, but <var>[[Methods#Named parameters|Name-Required]]</var>, parameter specifies the <var>Stringlist</var> (<i>stringList</i>) to be assigned to the <var>DaemonLost</var> exception object's <var class="term">[[DaemonOutput_(DaemonLost_property)|DaemonOutput]]</var> property when a daemon thread is lost.
</td></tr></table>


</td></tr></table>
==See also==
==See also==
{{Template:DaemonLost:New footer}}
{{Template:DaemonLost:New footer}}

Revision as of 04:08, 22 April 2011

Create a new DaemonLost object (DaemonLost class) This constructor generates an instance of a DaemonLost exception. As shown below, the optional argument of the New method is a setting of the DaemonOutput property.

Syntax

%daemonLost = [%(DaemonLost):]New[( [DaemonOutput= stringlist])]

Syntax terms

%daemonLost A reference to an instance of a DaemonLost object.
%(DaemonLost) The class name in parentheses denotes a shared method.
daemonOutput This optional, but Name-Required, parameter specifies the Stringlist (stringList) to be assigned to the DaemonLost exception object's DaemonOutput property when a daemon thread is lost.

See also