AsyncVoidMethodBuilder.SetException(Exception) Yöntem

Tanım

Yöntem oluşturucusunun özel durumunu bağlar.

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

Parametreler

exception
Exception

Bağlanacak özel durum.

Özel durumlar

exception, null değeridir.

Oluşturucu başlatılmadı.

Açıklamalar

Bu tür ve üyeleri derleyici tarafından kullanılmak üzere tasarlanmıştır.

Şunlara uygulanır