WCF Lob 适配器项目项创建此文件。我想将SCHEME
andSERVICENAMSPACE
值保留在machine.config
orBTSNTSvc64.exe.config
可能吗?如果不是,我怎么能保持它可定制的设置。
using Microsoft.ServiceModel.Channels.Common;
/// -----------------------------------------------------------------------------------------------------------
/// Module : MyFirstInboundAdapter.cs
/// Description : The main adapter class which inherits from Adapter
/// -----------------------------------------------------------------------------------------------------------
using System;
using System.ServiceModel.Description;
namespace MyFirstInboundAdapterApp
{
public class MyFirstInboundAdapter : Adapter
{
// Scheme associated with the adapter
internal const string SCHEME = "TheDefaultScheme";
// Namespace for the proxy that will be generated from the adapter schema
internal const string SERVICENAMESPACE = "TheDefaultScheme://FirstInboundAdapterNamespace;
// Initializes the AdapterEnvironmentSettings class
static AdapterEnvironmentSettings environmentSettings = new AdapterEnvironmentSettings();
}
}