Share via


LatencyContextOptions.ThrowOnUnregisteredNames Property

Definition

Gets or sets a value indicating whether an exception is thrown when using unregistered names.

public:
 property bool ThrowOnUnregisteredNames { bool get(); void set(bool value); };
public bool ThrowOnUnregisteredNames { get; set; }
member this.ThrowOnUnregisteredNames : bool with get, set
Public Property ThrowOnUnregisteredNames As Boolean

Property Value

true if the ILatencyContext APIs throws when using unregistered names. false if it no-ops. The default value is false.

Applies to