ActionContext ActionContext ActionContext Class

Definition

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
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

Constructors

ActionContext() ActionContext() ActionContext()

Initializes a new instance of the ActionContext class with the default property values.

ActionContext(IContext) ActionContext(IContext) ActionContext(IContext)

Initializes a new instance of the ActionContext class with the specified context parameter.

ActionContext(IServiceProvider) ActionContext(IServiceProvider) ActionContext(IServiceProvider)

Initializes a new instance of the ActionContext class with the specified service provider parameter.

ActionContext(IServiceProvider, IEnumerable<KeyValuePair<String,Object>>) ActionContext(IServiceProvider, IEnumerable<KeyValuePair<String,Object>>) ActionContext(IServiceProvider, IEnumerable<KeyValuePair<String,Object>>)

Initializes a new instance of the ActionContext class with the specified service provider and properties parameters.

Methods

Add(IEnumerable<KeyValuePair<String,Object>>, PropertyCollisionResolution) Add(IEnumerable<KeyValuePair<String,Object>>, PropertyCollisionResolution) Add(IEnumerable<KeyValuePair<String,Object>>, PropertyCollisionResolution)

Specifies the string inputs to be added to the dictionary.

(Inherited from PropertyDictionary)
Add(ISfcProperty) Add(ISfcProperty) Add(ISfcProperty)

Indicates a property to be added in the dictionary.

(Inherited from PropertyDictionary)
Add(ISfcProperty, PropertyCollisionResolution) Add(ISfcProperty, PropertyCollisionResolution) Add(ISfcProperty, PropertyCollisionResolution)

Specifies the string value to be added to the dictionary.

(Inherited from PropertyDictionary)
Add(KeyValuePair<String,Object>) Add(KeyValuePair<String,Object>) Add(KeyValuePair<String,Object>)

Indicates a specified string value to be added in the dictionary.

(Inherited from PropertyDictionary)
Add(KeyValuePair<String,Object>, PropertyCollisionResolution) Add(KeyValuePair<String,Object>, PropertyCollisionResolution) Add(KeyValuePair<String,Object>, PropertyCollisionResolution)

Indicates the added value in the dictionary.

(Inherited from PropertyDictionary)
Add(String, Object) Add(String, Object) Add(String, Object)

Adds the specified key and value to the dictionary.

(Inherited from PropertyDictionary)
Add(String, Object, PropertyCollisionResolution) Add(String, Object, PropertyCollisionResolution) Add(String, Object, PropertyCollisionResolution)

Indicates the property value to be added with the key, value, and event specified.

(Inherited from PropertyDictionary)
Add(String, Type) Add(String, Type) Add(String, Type)

Indicates the property value to be added with the name and type specified.

(Inherited from PropertyDictionary)
Add(String, Type, PropertyCollisionResolution) Add(String, Type, PropertyCollisionResolution) Add(String, Type, PropertyCollisionResolution)

Indicates the property value to be added using PropertyCollisionResolution.

(Inherited from PropertyDictionary)
AddService(Type, Object) AddService(Type, Object) AddService(Type, Object)

Adds the specified service to the service container. This class cannot be inherited.

AddService(Type, Object, Boolean) AddService(Type, Object, Boolean) 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) AddService(Type, ServiceCreatorCallback) AddService(Type, ServiceCreatorCallback)

Adds the specified service to the service container. This class cannot be inherited.

AddService(Type, ServiceCreatorCallback, Boolean) AddService(Type, ServiceCreatorCallback, Boolean) 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() Clear() Clear()

Clears the content of the property. This class cannot be inherited.

(Inherited from PropertyDictionary)
Contains(ISfcProperty) Contains(ISfcProperty) Contains(ISfcProperty)

Determines a value that indicates a specified object to be contained.

(Inherited from PropertyDictionary)
Contains(KeyValuePair<String,Object>) Contains(KeyValuePair<String,Object>) Contains(KeyValuePair<String,Object>)

Provides the object for the PropertyDictionary.

(Inherited from PropertyDictionary)
Contains(String) Contains(String) Contains(String)

Determines if the dictionary contains a specific property name.

(Inherited from PropertyDictionary)
Contains<T>(String) Contains<T>(String) Contains<T>(String)

Indicates a value whether the dictionary contains a specific name.

(Inherited from PropertyDictionary)
ContainsKey(String) ContainsKey(String) ContainsKey(String)

Determines whether the dictionary contains the specified key.

(Inherited from PropertyDictionary)
CopyTo(KeyValuePair<String,Object>[], Int32) CopyTo(KeyValuePair<String,Object>[], Int32) CopyTo(KeyValuePair<String,Object>[], Int32)

Copies the dictionary entries to a one-dimensional Array instance at the specified index.

(Inherited from PropertyDictionary)
EnumProperties() EnumProperties() EnumProperties()

Indicates the enumerable properties for the PropertyDictionary.

(Inherited from PropertyDictionary)
Equals(IContext) Equals(IContext) Equals(IContext)

Determines whether the specified object is equal to the current object with specified context.

GetEnumerator() GetEnumerator() GetEnumerator()

Retrieves an enumerator that iterates through the dictionary.

(Inherited from PropertyDictionary)
GetPropertySet() GetPropertySet() GetPropertySet()

Indicates a specific property in the PropertyDictionary.

(Inherited from PropertyDictionary)
GetService(Type) GetService(Type) GetService(Type)

Gets the service object of the specified type.

OnPropertyChanged(String) OnPropertyChanged(String) OnPropertyChanged(String)

Indicates a specified value of a property that is changed.

(Inherited from PropertyDictionary)
OnPropertyMetadataChanged(String) OnPropertyMetadataChanged(String) OnPropertyMetadataChanged(String)

Indicates a value when a property in the metadata is changed.

(Inherited from PropertyDictionary)
Remove(KeyValuePair<String,Object>) Remove(KeyValuePair<String,Object>) Remove(KeyValuePair<String,Object>)

Returns a value that indicates the object to be removed.

(Inherited from PropertyDictionary)
Remove(String) Remove(String) Remove(String)

Removes the element with the specified key from the collection.

(Inherited from PropertyDictionary)
RemoveService(Type) RemoveService(Type) RemoveService(Type)

Removes the specified service type from the service container. This class cannot be inherited.

RemoveService(Type, Boolean) RemoveService(Type, Boolean) 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) TryGetProperty(String, ISfcProperty) TryGetProperty(String, ISfcProperty)

Retrieves the property associated with the specified key. This class cannot be inherited.

(Inherited from PropertyDictionary)
TryGetPropertyValue(String, Object) TryGetPropertyValue(String, Object) TryGetPropertyValue(String, Object)

Retrieves a value that indicates a property to get.

(Inherited from PropertyDictionary)
TryGetPropertyValue<T>(String, T) TryGetPropertyValue<T>(String, T) TryGetPropertyValue<T>(String, T)

Retrieves a value that indicates a property to get using a list of items.

(Inherited from PropertyDictionary)
TryGetValue(String, Object) TryGetValue(String, Object) TryGetValue(String, Object)

Retrieves the value associated with the specified key.

(Inherited from PropertyDictionary)

Properties

Count Count Count

Gets the count of items in the property dictionary.

(Inherited from PropertyDictionary)
IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether the property can be modified.

(Inherited from PropertyDictionary)
Item[String] Item[String] Item[String]

Gets or sets the item at the specified key.

(Inherited from PropertyDictionary)
Keys Keys Keys

Gets the keys of the property.

(Inherited from PropertyDictionary)
Values Values Values

Gets the ICollection object that contains the values in the dictionary.

(Inherited from PropertyDictionary)

Events

PropertyChanged PropertyChanged PropertyChanged

Occurs after the value of the application settings property is changed.

(Inherited from PropertyDictionary)
PropertyMetadataChanged PropertyMetadataChanged PropertyMetadataChanged

Occurs after the value of metadata property is changed.

(Inherited from PropertyDictionary)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the current Collection object.

(Inherited from PropertyDictionary)

Applies to