Responder Developer Guide
TrySetCount Method


The new count value.
A non-throwing (see remarks) version of the Count property-setter.
Syntax
'Declaration
 
Public Function TrySetCount( _
   ByVal value As Integer _
) As Boolean
'Usage
 
Dim instance As ProgramGroup
Dim value As Integer
Dim value As Boolean
 
value = instance.TrySetCount(value)
public bool TrySetCount( 
   int value
)

Parameters

value
The new count value.

Return Value

true if all programs started, otherwise false.
Remarks

For v9.2SP2 and earlier, this method supressed all errors (false return code). Unfortunately this suppresses errors that are useful for debugging.

For v9.2SP3 and later, this method only suppresses the ProgramFailedToStartException exception (false return code); it does not suppress all errors.

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ProgramGroup Class
ProgramGroup Members

 

 


Send Comment