InvalidUdtException.Create(Type, String) メソッド

定義

新しい InvalidUdtException オブジェクトを作成します。

public static Microsoft.SqlServer.Server.InvalidUdtException Create (Type udtType, string resourceReason = "SqlUdtReason_NoUdtAttribute");
static member Create : Type * string -> Microsoft.SqlServer.Server.InvalidUdtException
Public Shared Function Create (udtType As Type, Optional resourceReason As String = "SqlUdtReason_NoUdtAttribute") As InvalidUdtException

パラメーター

udtType
Type

Type オブジェクト。

resourceReason
String

String文字列リソース内の文字列を表す オブジェクト。 既定値は、 SqlUdtReason_NoUdtAttribute "UDT 属性なし" のようなローカライズされた文字列を検索します。

戻り値

新しい InvalidUdtException オブジェクト。

注釈

このメソッドは、"'{0}' に似たローカライズされた文字列を検索します。無効なユーザー定義型である reason: {1}." で、値とresourceReason解決された値を順番udtTypeに入力します。

重要

この関数は下位互換性のために を公開し、パラメーターの既定値と共に使用する resourceReason 必要があります。

適用対象