BaseChannelWithProperties クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ディクショナリ インターフェイスをプロパティに公開するチャネルの基本実装を提供します。
public ref class BaseChannelWithProperties abstract : System::Runtime::Remoting::Channels::BaseChannelObjectWithProperties
public abstract class BaseChannelWithProperties : System.Runtime.Remoting.Channels.BaseChannelObjectWithProperties
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class BaseChannelWithProperties : System.Runtime.Remoting.Channels.BaseChannelObjectWithProperties
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public abstract class BaseChannelWithProperties : System.Runtime.Remoting.Channels.BaseChannelObjectWithProperties
type BaseChannelWithProperties = class
inherit BaseChannelObjectWithProperties
[<System.Runtime.InteropServices.ComVisible(true)>]
type BaseChannelWithProperties = class
inherit BaseChannelObjectWithProperties
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type BaseChannelWithProperties = class
inherit BaseChannelObjectWithProperties
Public MustInherit Class BaseChannelWithProperties
Inherits BaseChannelObjectWithProperties
- 継承
- 派生
- 属性
注釈
Important
信頼されていないデータを使用してこのクラスからメソッドを呼び出すことは、セキュリティ上のリスクです。 このクラスのメソッドは、信頼できるデータでのみ呼び出します。 詳細については、「すべての入力を検証する」を参照してください。
BaseChannelWithProperties クラスは、チャネル シンク チェーン内のシンクにプロパティを要求する複雑さを処理します。 チャネルがシンク チェーンを構築した後 (該当する場合)、 SinksWithProperties プロパティを設定する必要があります。
このクラスは、クラス レベルでリンク要求と継承要求を行います。 SecurityExceptionは、直接呼び出し元または派生クラスにインフラストラクチャアクセス許可がない場合にスローされます。 セキュリティ要求の詳細については、「 リンク要求」を参照してください。
注意 (実装者)
BaseChannelWithPropertiesから継承する場合は、Keys プロパティと Item[Object] プロパティを実装する必要があります。
コンストラクター
| 名前 | 説明 |
|---|---|
| BaseChannelWithProperties() |
BaseChannelWithProperties クラスの新しいインスタンスを初期化します。 |
フィールド
| 名前 | 説明 |
|---|---|
| SinksWithProperties |
チャネル シンク スタック内の最上位チャネル シンクを示します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| Count |
チャネル オブジェクトに関連付けられているプロパティの数を取得します。 (継承元 BaseChannelObjectWithProperties) |
| IsFixedSize |
チャネル オブジェクトに入力できるプロパティの数が固定されているかどうかを示す値を取得します。 (継承元 BaseChannelObjectWithProperties) |
| IsReadOnly |
チャネル オブジェクト内のプロパティのコレクションが読み取り専用かどうかを示す値を取得します。 (継承元 BaseChannelObjectWithProperties) |
| IsSynchronized |
チャネル オブジェクト プロパティのディクショナリが同期されているかどうかを示す値を取得します。 (継承元 BaseChannelObjectWithProperties) |
| Item[Object] |
派生クラスでオーバーライドされると、指定したキーに関連付けられているプロパティを取得または設定します。 (継承元 BaseChannelObjectWithProperties) |
| Keys |
派生クラスでオーバーライドされると、チャネル オブジェクトのプロパティが関連付けられているキーの ICollection を取得します。 (継承元 BaseChannelObjectWithProperties) |
| Properties |
現在のチャネル オブジェクトに関連付けられているチャネル プロパティの IDictionary を取得します。 |
| SyncRoot |
BaseChannelObjectWithPropertiesへのアクセスを同期するために使用されるオブジェクトを取得します。 (継承元 BaseChannelObjectWithProperties) |
| Values |
チャネル オブジェクトに関連付けられているプロパティの値の ICollection を取得します。 (継承元 BaseChannelObjectWithProperties) |
メソッド
| 名前 | 説明 |
|---|---|
| Add(Object, Object) |
NotSupportedException をスローします。 (継承元 BaseChannelObjectWithProperties) |
| Clear() |
NotSupportedException をスローします。 (継承元 BaseChannelObjectWithProperties) |
| Contains(Object) |
チャネル オブジェクトに、指定したキーに関連付けられているプロパティが含まれているかどうかを示す値を返します。 (継承元 BaseChannelObjectWithProperties) |
| CopyTo(Array, Int32) |
NotSupportedException をスローします。 (継承元 BaseChannelObjectWithProperties) |
| Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。 (継承元 Object) |
| GetEnumerator() |
チャネル オブジェクトに関連付けられているすべてのプロパティを列挙する IDictionaryEnumerator を返します。 (継承元 BaseChannelObjectWithProperties) |
| GetHashCode() |
既定のハッシュ関数として機能します。 (継承元 Object) |
| GetType() |
現在のインスタンスの Type を取得します。 (継承元 Object) |
| MemberwiseClone() |
現在の Objectの簡易コピーを作成します。 (継承元 Object) |
| Remove(Object) |
NotSupportedException をスローします。 (継承元 BaseChannelObjectWithProperties) |
| ToString() |
現在のオブジェクトを表す文字列を返します。 (継承元 Object) |
明示的なインターフェイスの実装
| 名前 | 説明 |
|---|---|
| IEnumerable.GetEnumerator() |
チャネル オブジェクトに関連付けられているすべてのプロパティを列挙する IEnumerator を返します。 (継承元 BaseChannelObjectWithProperties) |
拡張メソッド
| 名前 | 説明 |
|---|---|
| AsParallel(IEnumerable) |
クエリの並列化を有効にします。 |
| AsQueryable(IEnumerable) |
IEnumerable を IQueryableに変換します。 |
| Cast<TResult>(IEnumerable) |
IEnumerable の要素を指定した型にキャストします。 |
| OfType<TResult>(IEnumerable) |
指定した型に基づいて、IEnumerable の要素をフィルター処理します。 |