New (DaemonLost constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
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 <var>[[DaemonLost_class|DaemonLost]]</var> exception.  As shown below, the optional argument of the <var>New</var> method is a setting of the <var>[[DaemonOutput_(DaemonLost_property)|DaemonOutput]]</var> property.


==Syntax==
==Syntax==
Line 12: Line 12:
<td>The class name in parentheses denotes a shared method.</td></tr>
<td>The class name in parentheses denotes a shared method.</td></tr>
<tr><th><var>DaemonOutput</var></th>
<tr><th><var>DaemonOutput</var></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>[[DaemonOutput_(DaemonLost_property)|DaemonOutput]]</var> property when a daemon thread is lost.
<td>This optional, but <var>[[Methods#Named parameters|Name-Required]]</var>, parameter specifies the <var>Stringlist</var> (<var class="term">stringlist</var>) to be assigned to the <var>DaemonLost</var> exception object's <var>[[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 18:37, 2 May 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