File: Client\Payloads\CustomHostLaunchAckPayload.cs
Web Access
Project: src\src\vstest\src\Microsoft.TestPlatform.ObjectModel\Microsoft.TestPlatform.ObjectModel.csproj (Microsoft.VisualStudio.TestPlatform.ObjectModel)
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

using System.Runtime.Serialization;

namespace Microsoft.VisualStudio.TestPlatform.ObjectModel.Client;

/// <summary>
/// Class used to define the CustomHostLaunchAckPayload sent by the Vstest.console translation layers into design mode
/// </summary>
public class CustomHostLaunchAckPayload
{
    /// <summary>
    /// ProcessId of the TestHost launched by Clients like IDE, LUT etc.
    /// </summary>
    [DataMember]
    public int HostProcessId { get; set; }

    /// <summary>
    /// ErrorMessage, in cases where custom launch fails
    /// </summary>
    [DataMember]
    public string? ErrorMessage { get; set; }
}