次の方法で共有


DkmNativeCppCompilationError.Create Method

Definition

Create a new DkmNativeCppCompilationError object instance.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 14 Update 2 (DkmApiVersion.VS14Update2).

public:
 static Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppCompilationError ^ Create(Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppCompilationFailureReason FailureReason, System::String ^ Message);
public:
 static Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppCompilationError ^ Create(Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppCompilationFailureReason FailureReason, Platform::String ^ Message);
 static Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppCompilationError Create(Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppCompilationFailureReason FailureReason, std::wstring const & Message);
public static Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppCompilationError Create (Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppCompilationFailureReason FailureReason, string Message);
static member Create : Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppCompilationFailureReason * string -> Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppCompilationError
Public Shared Function Create (FailureReason As DkmNativeCppCompilationFailureReason, Message As String) As DkmNativeCppCompilationError

Parameters

FailureReason
DkmNativeCppCompilationFailureReason

[In] The reason why a native expression failed to compile.

Message
String

[In] A human-readable error message.

Returns

[Out] Result of this method call.

Applies to