PropertyValue.CatchExceptions Propriedade
Definição
Obtém um valor que indica se as exceções geradas durante a obtenção e configuração do valor da propriedade devem ser capturadas ou propagadas diretamente para o chamador.Gets a value that indicates whether exceptions thrown during property value getting and setting should be caught or should be propagated directly to the caller.
protected:
virtual property bool CatchExceptions { bool get(); };
protected virtual bool CatchExceptions { get; }
member this.CatchExceptions : bool
Protected Overridable ReadOnly Property CatchExceptions As Boolean
Valor da propriedade
true Se as exceções forem capturadas; false se as exceções forem propagadas para o chamador.true if exceptions are caught; false if exceptions are propagated to the caller.
Comentários
Isso se baseia na existência de qualquer assinante para o PropertyValueException evento.This is based upon whether there are any subscribers to the PropertyValueException event.