編集

次の方法で共有


ThrowHelper.ThrowPlatformNotSupportedException Method

Definition

Overloads

ThrowPlatformNotSupportedException()

Source:
ThrowHelper.cs
Source:
ThrowHelper.cs
public static void ThrowPlatformNotSupportedException();
static member ThrowPlatformNotSupportedException : unit -> unit
Public Shared Sub ThrowPlatformNotSupportedException ()

Exceptions

Thrown with no parameters.

Applies to

ThrowPlatformNotSupportedException(String)

Source:
ThrowHelper.cs
Source:
ThrowHelper.cs
public static void ThrowPlatformNotSupportedException(string? message);
static member ThrowPlatformNotSupportedException : string -> unit
Public Shared Sub ThrowPlatformNotSupportedException (message As String)

Parameters

message
String

The message to include in the exception.

Exceptions

Thrown with the specified parameter.

Applies to

ThrowPlatformNotSupportedException(String, Exception)

Source:
ThrowHelper.cs
Source:
ThrowHelper.cs
public static void ThrowPlatformNotSupportedException(string? message, Exception? innerException);
static member ThrowPlatformNotSupportedException : string * Exception -> unit
Public Shared Sub ThrowPlatformNotSupportedException (message As String, innerException As Exception)

Parameters

message
String

The message to include in the exception.

innerException
Exception

The inner Exception to include.

Exceptions

Thrown with the specified parameter.

Applies to

ThrowPlatformNotSupportedException<T>()

Source:
ThrowHelper.Generic.cs
Source:
ThrowHelper.Generic.cs
public static T ThrowPlatformNotSupportedException<T>();
static member ThrowPlatformNotSupportedException : unit -> 'T
Public Shared Function ThrowPlatformNotSupportedException(Of T) () As T

Type Parameters

T

The type of expected result.

Returns

T

This method always throws, so it actually never returns a value.

Exceptions

Thrown with no parameters.

Applies to

ThrowPlatformNotSupportedException<T>(String)

Source:
ThrowHelper.Generic.cs
Source:
ThrowHelper.Generic.cs
public static T ThrowPlatformNotSupportedException<T>(string? message);
static member ThrowPlatformNotSupportedException : string -> 'T
Public Shared Function ThrowPlatformNotSupportedException(Of T) (message As String) As T

Type Parameters

T

The type of expected result.

Parameters

message
String

The message to include in the exception.

Returns

T

This method always throws, so it actually never returns a value.

Exceptions

Thrown with the specified parameter.

Applies to

ThrowPlatformNotSupportedException<T>(String, Exception)

Source:
ThrowHelper.Generic.cs
Source:
ThrowHelper.Generic.cs
public static T ThrowPlatformNotSupportedException<T>(string? message, Exception? innerException);
static member ThrowPlatformNotSupportedException : string * Exception -> 'T
Public Shared Function ThrowPlatformNotSupportedException(Of T) (message As String, innerException As Exception) As T

Type Parameters

T

The type of expected result.

Parameters

message
String

The message to include in the exception.

innerException
Exception

The inner Exception to include.

Returns

T

This method always throws, so it actually never returns a value.

Exceptions

Thrown with the specified parameter.

Applies to