初始化 InvalidParameterNameException 類別的新執行個體。
命名空間: Microsoft.TeamFoundation.TestManagement.Client
組件: Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)
語法
'宣告
Public Sub New ( _
message As String, _
name As String, _
innerException As Exception _
)
public InvalidParameterNameException(
string message,
string name,
Exception innerException
)
public:
InvalidParameterNameException(
String^ message,
String^ name,
Exception^ innerException
)
new :
message:string *
name:string *
innerException:Exception -> InvalidParameterNameException
public function InvalidParameterNameException(
message : String,
name : String,
innerException : Exception
)
參數
- message
型別:System.String
錯誤訊息。
- name
型別:System.String
參數名稱。
- innerException
型別:System.Exception
造成目前例外狀況的原始例外狀況。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
InvalidParameterNameException 類別