File: System\ServiceModel\MsmqAuthenticationMode.cs
Project: ndp\cdf\src\WCF\ServiceModel\System.ServiceModel.csproj (System.ServiceModel)
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel
{
    public enum MsmqAuthenticationMode
    {
        None,
        WindowsDomain,
        Certificate,
    }
 
    static class MsmqAuthenticationModeHelper
    {
        public static bool IsDefined(MsmqAuthenticationMode mode)
        {
            return mode >= MsmqAuthenticationMode.None && mode <= MsmqAuthenticationMode.Certificate;
        }
    }
}