ProvideServiceForTestTypeAttribute.Unregister Method
This member overrides RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext), and more complete documentation might be available in that topic.
Unregisters the custom host adapter with the testing framework.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'宣言
Public Overrides Sub Unregister ( _
context As RegistrationAttribute..::..RegistrationContext _
)
public override void Unregister(
RegistrationAttribute..::..RegistrationContext context
)
public:
virtual void Unregister(
RegistrationAttribute..::..RegistrationContext^ context
) override
abstract Unregister :
context:RegistrationAttribute..::..RegistrationContext -> unit
override Unregister :
context:RegistrationAttribute..::..RegistrationContext -> unit
public override function Unregister(
context : RegistrationAttribute..::..RegistrationContext
)
Parameters
- context
Type: Microsoft.VisualStudio.Shell.RegistrationAttribute.RegistrationContext
The current registration context.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.