WCF Lob适配器项目项目创建此文件。
我想将SCHEME
和SERVICENAMSPACE
的值保留在machine.config
或BTSNTSvc64.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();
}
}