ActionContext 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供操作在执行过程中的上下文。
public ref class ActionContext : Microsoft::SqlServer::Management::Data::PropertyDictionary, IEquatable<Microsoft::SqlServer::Management::Data::IContext ^>, IServiceProvider, Microsoft::SqlServer::Management::Data::IContext, Microsoft::SqlServer::Management::Sdk::Sfc::ISfcPropertySet, System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::ComponentModel::Design::IServiceContainer
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class ActionContext : Microsoft.SqlServer.Management.Data.PropertyDictionary, IEquatable<Microsoft.SqlServer.Management.Data.IContext>, IServiceProvider, Microsoft.SqlServer.Management.Data.IContext, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcPropertySet, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.ComponentModel.Design.IServiceContainer
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ActionContext = class
inherit PropertyDictionary
interface IContext
interface IPropertyDictionary
interface ISfcPropertySet
interface IDictionary<string, obj>
interface ICollection<KeyValuePair<string, obj>>
interface seq<KeyValuePair<string, obj>>
interface IEnumerable
interface IEquatable<IContext>
interface IServiceContainer
interface IServiceProvider
Public Class ActionContext
Inherits PropertyDictionary
Implements ICollection(Of KeyValuePair(Of String, Object)), IContext, IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), IEquatable(Of IContext), IServiceContainer, IServiceProvider, ISfcPropertySet
- 继承
- 属性
- 实现
-
IContext IPropertyDictionary ISfcPropertySet ICollection<KeyValuePair<String,Object>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,Object> IEnumerable<KeyValuePair<String,Object>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable IServiceContainer IEquatable<IContext> IServiceProvider
构造函数
ActionContext() |
使用默认属性值初始化 ActionContext 类的新实例。 |
ActionContext(IContext) |
使用指定的上下文参数初始化 ActionContext 类的新实例。 |
ActionContext(IServiceProvider) |
使用指定的服务提供程序参数初始化 ActionContext 类的新实例。 |
ActionContext(IServiceProvider, IEnumerable<KeyValuePair<String,Object>>) |
使用指定的服务提供程序和属性参数初始化 ActionContext 类的新实例。 |
属性
Count |
获取属性字典中的项计数。 (继承自 PropertyDictionary) |
IsReadOnly |
获取一个值,该值指示是否可以修改该属性。 (继承自 PropertyDictionary) |
Item[String] |
获取或设置指定键处的项。 (继承自 PropertyDictionary) |
Keys |
获取属性的键。 (继承自 PropertyDictionary) |
Values |
获取包含字典中的值的 ICollection 对象。 (继承自 PropertyDictionary) |
方法
事件
PropertyChanged |
在应用程序设置属性的值更改后发生。 (继承自 PropertyDictionary) |
PropertyMetadataChanged |
在元数据属性的值更改后发生。 (继承自 PropertyDictionary) |
显式接口实现
IEnumerable.GetEnumerator() |
返回遍历当前 Collection 对象的枚举器。 (继承自 PropertyDictionary) |