Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException> Yapı
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından Assert.Throws kullanılan ilişkilendirilmiş bir dize işleyicisi sağlar.
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public readonly struct Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException> where TException : Exception
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandler]
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException> where TException : Exception
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandler]
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
[System.Diagnostics.StackTraceHidden]
public readonly struct Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException> where TException : Exception
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
type Assert.AssertNonStrictThrowsInterpolatedStringHandler<'Exception (requires 'Exception :> Exception)> = struct
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.InterpolatedStringHandler>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type Assert.AssertNonStrictThrowsInterpolatedStringHandler<'Exception (requires 'Exception :> Exception)> = struct
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.InterpolatedStringHandler>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Diagnostics.StackTraceHidden>]
type Assert.AssertNonStrictThrowsInterpolatedStringHandler<'Exception (requires 'Exception :> Exception)> = struct
Public Structure Assert.AssertNonStrictThrowsInterpolatedStringHandler(Of TException)
Tür Parametreleri
- TException
Atılması beklenen özel durum türü.
- Devralma
-
Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException>
- Öznitelikler
Açıklamalar
Bu tür derleyici tarafından kullanılmak üzere tasarlanmıştır; kullanıcıların doğrudan başvurmaması gerekir.
Oluşturucular
| Name | Description |
|---|---|
| Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException>(Int32, Int32, Action, Boolean) |
Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException> yapısının yeni bir örneğini başlatır. |
| Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException>(Int32, Int32, Func<Object>, Boolean) |
Assert.AssertNonStrictThrowsInterpolatedStringHandler<TException> yapısının yeni bir örneğini başlatır. |
Yöntemler
| Name | Description |
|---|---|
| AppendFormatted(Object, Int32, String) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |
| AppendFormatted(ReadOnlySpan<Char>, Int32, String) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |
| AppendFormatted(ReadOnlySpan<Char>) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |
| AppendFormatted(String, Int32, String) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |
| AppendFormatted(String) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |
| AppendFormatted<T>(T, Int32, String) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |
| AppendFormatted<T>(T, Int32) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |
| AppendFormatted<T>(T, String) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |
| AppendFormatted<T>(T) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |
| AppendLiteral(String) |
Yalnızca onay başarısız olduğunda iletiyi ayıran ve biçimlendiren aşırı yüklemeler tarafından |