AsyncValueTaskMethodBuilder<TResult>.SetException(Exception) 메서드

정의

작업이 실패한 것으로 표시하고 지정된 예외를 작업에 바인딩합니다.

public:
 void SetException(Exception ^ exception);
public void SetException (Exception exception);
member this.SetException : Exception -> unit
Public Sub SetException (exception As Exception)

매개 변수

exception
Exception

작업에 바인딩할 예외입니다.

적용 대상