NServiceBus.Hosting.HostInformation.HostInformation C# (CSharp) Method

HostInformation() public method

Creates a new instance.
public HostInformation ( System.Guid hostId, string displayName ) : System
hostId System.Guid The id of the host.
displayName string The display name of the host.
return System
        public HostInformation(Guid hostId, string displayName)
            : this(hostId, displayName, new Dictionary<string, string>
            {
                {"Machine", RuntimeEnvironment.MachineName},
                {"ProcessID", Process.GetCurrentProcess().Id.ToString()},
                {"UserName", Environment.UserName}
            })
        {
        }

Same methods

HostInformation::HostInformation ( System.Guid hostId, string displayName, string>.Dictionary properties ) : System
HostInformation