Skip to content

Class BehaviorNotFoundException

Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll

Thrown when a behavior cannot be located in the active runtime’s behavior catalog.

public sealed class BehaviorNotFoundException : Exception, ISerializable

objectExceptionBehaviorNotFoundException

ISerializable

Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Initializes the exception for the given behavior identifier.

public BehaviorNotFoundException(string behaviorId)

behaviorId string

The behavior identifier that could not be resolved.

BehaviorNotFoundException(string, Exception)

Section titled “ BehaviorNotFoundException(string, Exception)”

Initializes the exception for the given behavior identifier with an inner exception.

public BehaviorNotFoundException(string behaviorId, Exception innerException)

behaviorId string

The behavior identifier that could not be resolved.

innerException Exception

The exception that caused this exception.

Gets the behavior identifier that could not be resolved.

public string BehaviorId { get; }

string