DiagnosticSourceAdapter.IObserver<KeyValuePair<String,Object>>.OnError 方法

定义

通知观察者提供程序遇到错误情况。

 virtual void System.IObserver<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.OnError(Exception ^ error) = IObserver<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>::OnError;
void IObserver<KeyValuePair<string,object>>.OnError (Exception error);
abstract member System.IObserver<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.OnError : Exception -> unit
override this.System.IObserver<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.OnError : Exception -> unit
Sub OnError (error As Exception) Implements IObserver(Of KeyValuePair(Of String, Object)).OnError

参数

error
Exception

提供有关错误的附加信息的对象。

实现

适用于