共用方式為


IBuildEventArgsReaderNotifications.RecoverableReadError Event

Definition

Receives recoverable errors during reading. Communicates type of the error, kind of the record that encountered the error and the message detailing the error. In case of UnknownEventData this is raised before returning the structured representation of a build event that has some extra unknown data in the binlog. In case of other error types this event is raised and the offending build event is skipped and not returned.

public:
 event Action<Microsoft::Build::Logging::BinaryLogReaderErrorEventArgs ^> ^ RecoverableReadError;
event Action<Microsoft.Build.Logging.BinaryLogReaderErrorEventArgs>? RecoverableReadError;
member this.RecoverableReadError : Action<Microsoft.Build.Logging.BinaryLogReaderErrorEventArgs> 
Event RecoverableReadError As Action(Of BinaryLogReaderErrorEventArgs) 

Event Type

Applies to