IVsDiscoveryService.CreateDiscoverySession(IDiscoverySession) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a pointer to a Discovery Session.
public:
int CreateDiscoverySession([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoverySession ^ % pSessionObject);
public:
int CreateDiscoverySession([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoverySession ^ & pSessionObject);
int CreateDiscoverySession([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IDiscoverySession const & & pSessionObject);
public int CreateDiscoverySession (out Microsoft.VisualStudio.Shell.Interop.IDiscoverySession pSessionObject);
abstract member CreateDiscoverySession : IDiscoverySession -> int
Public Function CreateDiscoverySession (ByRef pSessionObject As IDiscoverySession) As Integer
Parameters
- pSessionObject
- IDiscoverySession
[out] Pointer to a Discovery Session object.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From discoveryservice.idl:
HRESULT IVsDiscoveryService::CreateDiscoverySession(
[out, retval] IDiscoverySession **pSessionObject
);