PromptService Class TIBCO Spotfire 7.6 API Reference
Allows the user to be prompted for input to various operations.
Inheritance Hierarchy

SystemObject
  DedicatedThreadAccessible
    DedicatedThreadService
      Spotfire.Dxp.Framework.ApplicationModelPromptService

Namespace: Spotfire.Dxp.Framework.ApplicationModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public sealed class PromptService : DedicatedThreadService

The PromptService type exposes the following members.

Methods

  NameDescription
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrompt
Prompts the user for input by showing a modal dialog operating on the specified promptModel. A view of type Form must previously have been registered for the type of the specified promptModel by overriding RegisterViews(AddInViewRegistrar).
Top
Properties

  NameDescription
Public propertyIsPromptingAllowed
Gets whether or not prompting is allowed in the running application instance. If this method returns false, calls to Prompt(Object, Type) will fail by throwing an InvalidOperationException.
Public propertyPromptMode
Gets the mode in which this service currently operates.
Top
Remarks

This service is always available in the application but the calls to Prompt(Object, Type) will throw exceptions if the application is running in a mode in which it is not possible to interact with the user (for example headless mode).
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference