ActionContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the context for an action while executing.
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
- Inheritance
- Attributes
- Implements
-
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
Constructors
ActionContext() |
Initializes a new instance of the ActionContext class with the default property values. |
ActionContext(IContext) |
Initializes a new instance of the ActionContext class with the specified context parameter. |
ActionContext(IServiceProvider) |
Initializes a new instance of the ActionContext class with the specified service provider parameter. |
ActionContext(IServiceProvider, IEnumerable<KeyValuePair<String,Object>>) |
Initializes a new instance of the ActionContext class with the specified service provider and properties parameters. |
Properties
Count |
Gets the count of items in the property dictionary. (Inherited from PropertyDictionary) |
IsReadOnly |
Gets a value indicating whether the property can be modified. (Inherited from PropertyDictionary) |
Item[String] |
Gets or sets the item at the specified key. (Inherited from PropertyDictionary) |
Keys |
Gets the keys of the property. (Inherited from PropertyDictionary) |
Values |
Gets the ICollection object that contains the values in the dictionary. (Inherited from PropertyDictionary) |
Methods
Add(IEnumerable<KeyValuePair<String,Object>>, PropertyCollisionResolution) |
Specifies the string inputs to be added to the dictionary. (Inherited from PropertyDictionary) |
Add(ISfcProperty) |
Indicates a property to be added in the dictionary. (Inherited from PropertyDictionary) |
Add(ISfcProperty, PropertyCollisionResolution) |
Specifies the string value to be added to the dictionary. (Inherited from PropertyDictionary) |
Add(KeyValuePair<String,Object>) |
Indicates a specified string value to be added in the dictionary. (Inherited from PropertyDictionary) |
Add(KeyValuePair<String,Object>, PropertyCollisionResolution) |
Indicates the added value in the dictionary. (Inherited from PropertyDictionary) |
Add(String, Object) |
Adds the specified key and value to the dictionary. (Inherited from PropertyDictionary) |
Add(String, Object, PropertyCollisionResolution) |
Indicates the property value to be added with the key, value, and event specified. (Inherited from PropertyDictionary) |
Add(String, Type) |
Indicates the property value to be added with the name and type specified. (Inherited from PropertyDictionary) |
Add(String, Type, PropertyCollisionResolution) |
Indicates the property value to be added using PropertyCollisionResolution. (Inherited from PropertyDictionary) |
AddService(Type, Object) |
Adds the specified service to the service container. This class cannot be inherited. |
AddService(Type, Object, Boolean) |
Adds the specified service to the service container, and optionally promotes the service to any parent service containers. This class cannot be inherited. |
AddService(Type, ServiceCreatorCallback) |
Adds the specified service to the service container. This class cannot be inherited. |
AddService(Type, ServiceCreatorCallback, Boolean) |
Adds the specified service to the service container, and optionally promotes the service to parent service containers. This class cannot be inherited. |
Clear() |
Clears the content of the property. This class cannot be inherited. (Inherited from PropertyDictionary) |
Contains(ISfcProperty) |
Determines a value that indicates a specified object to be contained. (Inherited from PropertyDictionary) |
Contains(KeyValuePair<String,Object>) |
Provides the object for the PropertyDictionary. (Inherited from PropertyDictionary) |
Contains(String) |
Determines if the dictionary contains a specific property name. (Inherited from PropertyDictionary) |
Contains<T>(String) |
Indicates a value whether the dictionary contains a specific name. (Inherited from PropertyDictionary) |
ContainsKey(String) |
Determines whether the dictionary contains the specified key. (Inherited from PropertyDictionary) |
CopyTo(KeyValuePair<String,Object>[], Int32) |
Copies the dictionary entries to a one-dimensional Array instance at the specified index. (Inherited from PropertyDictionary) |
EnumProperties() |
Indicates the enumerable properties for the PropertyDictionary. (Inherited from PropertyDictionary) |
Equals(IContext) |
Determines whether the specified object is equal to the current object with specified context. |
GetEnumerator() |
Retrieves an enumerator that iterates through the dictionary. (Inherited from PropertyDictionary) |
GetPropertySet() |
Indicates a specific property in the PropertyDictionary. (Inherited from PropertyDictionary) |
GetService(Type) |
Gets the service object of the specified type. |
OnPropertyChanged(String) |
Indicates a specified value of a property that is changed. (Inherited from PropertyDictionary) |
OnPropertyMetadataChanged(String) |
Indicates a value when a property in the metadata is changed. (Inherited from PropertyDictionary) |
Remove(KeyValuePair<String,Object>) |
Returns a value that indicates the object to be removed. (Inherited from PropertyDictionary) |
Remove(String) |
Removes the element with the specified key from the collection. (Inherited from PropertyDictionary) |
RemoveService(Type) |
Removes the specified service type from the service container. This class cannot be inherited. |
RemoveService(Type, Boolean) |
Removes the specified service type from the service container, and optionally promotes the service to parent service containers. This class cannot be inherited. |
TryGetProperty(String, ISfcProperty) |
Retrieves the property associated with the specified key. This class cannot be inherited. (Inherited from PropertyDictionary) |
TryGetPropertyValue(String, Object) |
Retrieves a value that indicates a property to get. (Inherited from PropertyDictionary) |
TryGetPropertyValue<T>(String, T) |
Retrieves a value that indicates a property to get using a list of items. (Inherited from PropertyDictionary) |
TryGetValue(String, Object) |
Retrieves the value associated with the specified key. (Inherited from PropertyDictionary) |
Events
PropertyChanged |
Occurs after the value of the application settings property is changed. (Inherited from PropertyDictionary) |
PropertyMetadataChanged |
Occurs after the value of metadata property is changed. (Inherited from PropertyDictionary) |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through the current Collection object. (Inherited from PropertyDictionary) |