RunningDocumentTable.Unadvise Method
Indicates the client is no longer interested in receiving Running Document Table (RDT) events.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
声明
<CLSCompliantAttribute(False)> _
Public Sub Unadvise ( _
cookie As UInteger _
)
用法
Dim instance As RunningDocumentTable
Dim cookie As UInteger
instance.Unadvise(cookie)
[CLSCompliantAttribute(false)]
public void Unadvise(
uint cookie
)
[CLSCompliantAttribute(false)]
public:
void Unadvise(
unsigned int cookie
)
[<CLSCompliantAttribute(false)>]
member Unadvise :
cookie:uint32 -> unit
public function Unadvise(
cookie : uint
)
Parameters
- cookie
Type: System.UInt32
[in] A unique value returned from the Advise method. See Remarks.
Remarks
This method is called when the client no longer wants to listen for RDT events. The cookie is the value that is associated with an IVsRunningDocTableEvents object and was returned from the Advise method.
.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.