Show / Hide Table of Contents

    Class PerfCounterConfiguration

    Perf counter configuration

    Inheritance
    Object
    PerfCounterConfiguration
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.Skype.Bots.Media
    Assembly: Microsoft.Skype.Bots.Media.dll
    Syntax
    public class PerfCounterConfiguration

    Constructors

    PerfCounterConfiguration()

    Constructor

    Declaration
    public PerfCounterConfiguration()

    Properties

    UseMPAzureAppHostPerfCounterProvider

    If set to true, will use MPAzureAppHost's default perf counter provider which uses the registered win32 perf counters Otherwise, will use the in-memory MPPerfCounterProvider that doesn't load win32 perf counters

    Declaration
    public bool UseMPAzureAppHostPerfCounterProvider { get; set; }
    Property Value
    Type Description
    Boolean

    VerifyPerfCounterConfiguration

    Default is true If set to false, will not verify the perf counter configuration of the bot (MediaPerf.dll and/or MP perf counters)

    Declaration
    public bool VerifyPerfCounterConfiguration { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    IsValidConfiguration(PerfCounterConfiguration)

    Checks if the config is valid

    Declaration
    public static bool IsValidConfiguration(PerfCounterConfiguration perfConfig)
    Parameters
    Type Name Description
    PerfCounterConfiguration perfConfig
    Returns
    Type Description
    Boolean

    ToString()

    ToString override

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    Back to top Copyright (c) Microsoft Corporation. All rights reserved.