派生クラスによってオーバーライドされると、SOAP 拡張機能の優先順位を取得または設定します。
Public MustOverride Property Priority As Integer
[C#]
public abstract int Priority {get; set;}
[C++]
public: __property virtual int get_Priority() = 0;public: __property virtual void set_Priority(int) = 0;
[JScript]
public abstract function get Priority() : int;public abstract function set Priority(int);
プロパティ値
SOAP 拡張機能の優先順位。
使用例
[Visual Basic, C#, C++] Priority プロパティの一般的な実装例を次に示します。
' User can set priority of the TraceExtension.
Public Overrides Property Priority() As Integer
Get
Return m_priority
End Get
Set(ByVal Value As Integer)
m_priority = value
End Set
End Property
[C#]
// User can set priority of the SoapExtension.
public override int Priority
{
get
{
return myPriority;
}
set
{
myPriority = value;
}
}
[C++]
// User can set priority of the SoapExtension.
public:
__property int get_Priority()
{
return myPriority;
}
__property void set_Priority( int value )
{
myPriority = value;
}
[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン をクリックします。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET
参照
SoapExtensionAttribute クラス | SoapExtensionAttribute メンバ | System.Web.Services.Protocols 名前空間