BaseChannelWithProperties Class
Provides a base implementation for channels that want to expose a dictionary interface to their properties.
Assembly: mscorlib (in mscorlib.dll)
System.Runtime.Remoting.Channels::BaseChannelObjectWithProperties
System.Runtime.Remoting.Channels::BaseChannelWithProperties
System.Runtime.Remoting.Channels.Http::HttpChannel
System.Runtime.Remoting.Channels.Http::HttpClientChannel
System.Runtime.Remoting.Channels.Http::HttpServerChannel
| Name | Description | |
|---|---|---|
![]() | BaseChannelWithProperties() | Initializes a new instance of the BaseChannelWithProperties class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of properties associated with the channel object.(Inherited from BaseChannelObjectWithProperties.) |
![]() | IsFixedSize | Gets a value that indicates whether the number of properties that can be entered into the channel object is fixed.(Inherited from BaseChannelObjectWithProperties.) |
![]() | IsReadOnly | Gets a value that indicates whether the collection of properties in the channel object is read-only.(Inherited from BaseChannelObjectWithProperties.) |
![]() | IsSynchronized | Gets a value that indicates whether the dictionary of channel object properties is synchronized.(Inherited from BaseChannelObjectWithProperties.) |
![]() | Item[Object^] | When overridden in a derived class, gets or sets the property that is associated with the specified key.(Inherited from BaseChannelObjectWithProperties.) |
![]() | Keys | When overridden in a derived class, gets a ICollection of keys that the channel object properties are associated with.(Inherited from BaseChannelObjectWithProperties.) |
![]() | Properties | Gets a IDictionary of the channel properties associated with the current channel object.(Overrides BaseChannelObjectWithProperties::Properties.) |
![]() | SyncRoot | Gets an object that is used to synchronize access to the BaseChannelObjectWithProperties.(Inherited from BaseChannelObjectWithProperties.) |
![]() | Values | Gets a ICollection of the values of the properties associated with the channel object.(Inherited from BaseChannelObjectWithProperties.) |
| Name | Description | |
|---|---|---|
![]() | Add(Object^, Object^) | Throws a NotSupportedException.(Inherited from BaseChannelObjectWithProperties.) |
![]() | Clear() | Throws a NotSupportedException.(Inherited from BaseChannelObjectWithProperties.) |
![]() | Contains(Object^) | Returns a value that indicates whether the channel object contains a property that is associated with the specified key.(Inherited from BaseChannelObjectWithProperties.) |
![]() | CopyTo(Array^, Int32) | Throws a NotSupportedException.(Inherited from BaseChannelObjectWithProperties.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetEnumerator() | Returns a IDictionaryEnumerator that enumerates over all the properties associated with the channel object.(Inherited from BaseChannelObjectWithProperties.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | Remove(Object^) | Throws a NotSupportedException.(Inherited from BaseChannelObjectWithProperties.) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | SinksWithProperties | Indicates the top channel sink in the channel sink stack. |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | This API supports the product infrastructure and is not intended to be used directly from your code. Returns a IEnumerator that enumerates over all the properties that are associated with the channel object.(Inherited from BaseChannelObjectWithProperties.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
The BaseChannelWithProperties class handles the complexity of asking the sinks in a channel sink chain for their properties. After the channel constructs its sink chain (if applicable), it must set the SinksWithProperties property.
This class makes a link demand and an inheritance demand at the class level. A SecurityException is thrown when either the immediate caller or the derived class does not have infrastructure permission. For details about security demands, see Link Demands and Inheritance Demands.
Notes to Inheritors:
When you inherit from BaseChannelWithProperties, you must implement the Keys property and the Item property.
For operating with infrastructure code. Demand value: SecurityAction::LinkDemand; Permission Value: SecurityPermissionFlag::Infrastructure
For operating with infrastructure code. Demand value: SecurityAction::InheritanceDemand; Permission Value: SecurityPermissionFlag::Infrastructure
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





