DkmClrAppDomain.Create 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.
This method is called by the managed debug monitor to create a DkmClrAppDomain object. It is called on the event thread in response to the target process creating an AppDomain. The caller is responsible for closing the created object after they are done.
public:
static Microsoft::VisualStudio::Debugger::Clr::DkmClrAppDomain ^ Create(int Id, Microsoft::VisualStudio::Debugger::Clr::DkmClrRuntimeInstance ^ RuntimeInstance, System::String ^ Name, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain Create (int Id, Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance RuntimeInstance, string Name, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
public static Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain Create (int Id, Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance RuntimeInstance, string Name, Microsoft.VisualStudio.Debugger.DkmDataItem? DataItem);
static member Create : int * Microsoft.VisualStudio.Debugger.Clr.DkmClrRuntimeInstance * string * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.Clr.DkmClrAppDomain
Public Shared Function Create (Id As Integer, RuntimeInstance As DkmClrRuntimeInstance, Name As String, DataItem As DkmDataItem) As DkmClrAppDomain
Parameters
- Id
- Int32
[In] Id of the underlying CLR app domain. While running, this uniquely identifies the app domain within a particular DkmRuntimeInstance.
- RuntimeInstance
- DkmClrRuntimeInstance
[In] Represents a CLR instance running in a target process.
- Name
- String
[In] AppDomain Name.
- DataItem
- DkmDataItem
[In,Optional] Data object to add to the new DkmClrAppDomain instance. Pass 'null' in the case that the caller doesn't need to add a data item.
Returns
[Out] Result of this method call.