ソース コード管理プログラムにチェックインされているファイルのチェックアウトをキャンセルするか、チェックアウトが失敗した場合にスローされる例外。
名前空間: System.ComponentModel.Design
アセンブリ: System (system.dll 内)
構文
'宣言
<SerializableAttribute> _
Public Class CheckoutException
Inherits ExternalException
'使用
Dim instance As CheckoutException
[SerializableAttribute]
public class CheckoutException : ExternalException
[SerializableAttribute]
public ref class CheckoutException : public ExternalException
/** @attribute SerializableAttribute() */
public class CheckoutException extends ExternalException
SerializableAttribute
public class CheckoutException extends ExternalException
解説
注意
このクラスに適用される HostProtectionAttribute 属性の Resources プロパティの値は、SharedState です。HostProtectionAttribute は、デスクトップ アプリケーション (一般的には、アイコンをダブルクリック、コマンドを入力、またはブラウザに URL を入力して起動するアプリケーション) には影響しません。詳細については、HostProtectionAttribute クラスのトピックまたは「SQL Server プログラミングとホスト保護属性」を参照してください。
使用例
CheckoutException をスローする例を次に示します。
' Throws a checkout exception with a message and error code.
Throw New CheckoutException("This is an example exception", 0)
// Throws a checkout exception with a message and error code.
throw new CheckoutException("This is an example exception", 0);
// Throws a checkout exception with a message and error code.
throw gcnew CheckoutException( "This is an example exception", 0 );
// Throws a checkout exception with a message and error code.
throw new CheckoutException("This is an example exception", 0);
継承階層
System.Object
System.Exception
System.SystemException
System.Runtime.InteropServices.ExternalException
System.ComponentModel.Design.CheckoutException
スレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0