ConnectedServiceHandlerContext Class

Visual Studio 2015
 

The context information and services given to ConnectedServiceHandlerinstances during UpdateServiceInstanceAsync and AddServiceInstanceAsync.

Namespace:   Microsoft.VisualStudio.ConnectedServices
Assembly:  Microsoft.VisualStudio.ConnectedServices (in Microsoft.VisualStudio.ConnectedServices.dll)

System::Object
  Microsoft.VisualStudio.ConnectedServices::ConnectedServiceContext
    Microsoft.VisualStudio.ConnectedServices::ConnectedServiceHandlerContext

public ref class ConnectedServiceHandlerContext abstract : ConnectedServiceContext

NameDescription
System_CAPS_protmethodConnectedServiceHandlerContext()

This constructor supports unit testing your extension and is not intended to be used directly from your production code.

NameDescription
System_CAPS_pubpropertyHandlerHelper

Gets a ConnectedServiceHandlerHelper that can be used to perform project configuration tasks such as adding references, manipulating configuration files, and adding files to the project.

System_CAPS_pubpropertyIsUpdating

Gets a value that indicates whether a connected service is being updated.(Inherited from ConnectedServiceContext.)

System_CAPS_pubpropertyLogger

Gets a logger that can be used to write any messages to the caller. This will include warnings of steps that did not succeed but can be fixed by the end user or errors that caused the operation to fail.(Inherited from ConnectedServiceContext.)

System_CAPS_pubpropertyProjectHierarchy

Gets the project's T:Microsoft.VisualStudio.Shell.Interop.IvsHierarchy that the current Connected Service dialog is operating on.(Inherited from ConnectedServiceContext.)

System_CAPS_pubpropertyServiceInstance

Gets the instance of the service to add to the project.

System_CAPS_pubpropertyUpdateContext

Gets the information that is provided when a connected service is being updated, or null if the connected service is not being updated.(Inherited from ConnectedServiceContext.)

NameDescription
System_CAPS_pubmethodCreateEditableXmlConfigHelper()

Creates an EditableXmlConfigHelper that can be used to read or write xml configuration files.

System_CAPS_pubmethodCreateReadOnlyXmlConfigHelper()

Creates an CreateEditableXmlConfigHelper that can be used to read xml configuration files.(Inherited from ConnectedServiceContext.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetExtendedDesignerData<TData>()

Gets the designer data for the connected service that is stored in the ConnectedServices.json file for the service. Returns null if no extended designer data exists.(Inherited from ConnectedServiceContext.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSetExtendedDesignerData<TData>(TData)

Sets the designer data for the connected service that is stored in the ConnectedServices.json file for the service upon successfully adding/updating the service.(Inherited from ConnectedServiceContext.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Instances of this class are provided by the Connected Services infrastructure. Do not inherit from this class in your production code.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: