Table of Contents

Class SapAgentResolutionException

Namespace
SapGui.Wrapper
Assembly
SapGui.Wrapper.dll

Thrown when FieldFinder or ButtonFinder in the agent layer cannot resolve a semantic target to a SAP GUI element.

public sealed class SapAgentResolutionException : Exception, ISerializable, _Exception
Inheritance
SapAgentResolutionException
Implements
Inherited Members

Constructors

SapAgentResolutionException(string, string, IReadOnlyList<string>?)

Initialises the exception.

public SapAgentResolutionException(string target, string elementType, IReadOnlyList<string>? candidates = null)

Parameters

target string
elementType string
candidates IReadOnlyList<string>

Properties

Candidates

Candidate elements that were available at the time of the resolution attempt.

public IReadOnlyList<string> Candidates { get; }

Property Value

IReadOnlyList<string>

ElementType

The element type being resolved: "field", "button", etc.

public string ElementType { get; }

Property Value

string

Target

The semantic target string that could not be resolved.

public string Target { get; }

Property Value

string