Provides the context in which a SharePoint command is being executed.
Assembly: Microsoft.VisualStudio.SharePoint.Commands (in Microsoft.VisualStudio.SharePoint.Commands.dll)
Gets the log service which you can use to write messages to the Output window or Error List window in Visual Studio.
Gets a Microsoft.SharePoint.SPSite that represents the SharePoint site collection on which the command is run.
Gets a Microsoft.SharePoint.SPWeb that represents the SharePoint site on which the command is run.
Refreshes the context with new instances of the Microsoft.SharePoint.SPSite and Microsoft.SharePoint.SPWeb objects.