Class ProtoTargetResolutionException
Thrown when a target's provider chain cannot serve it - no provider is registered, or no provider's condition holds. The message names the target and every provider's unmet condition, so a suite fixes its composition instead of failing at first use.
public sealed class ProtoTargetResolutionException : InvalidOperationException, ISerializable
- Inheritance
-
ProtoTargetResolutionException
- Implements
- Inherited Members
- Extension Methods
Constructors
ProtoTargetResolutionException(string, string)
Creates the failure for one target that no provider can serve.
public ProtoTargetResolutionException(string targetName, string message)
Parameters
Properties
TargetName
Gets the name of the target no provider can serve.
public string TargetName { get; }