//----------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Channels { using System; public abstract class MessageEncoderFactory { protected MessageEncoderFactory() { } public abstract MessageEncoder Encoder { get; } public abstract MessageVersion MessageVersion { get; } public virtual MessageEncoder CreateSessionEncoder() { return Encoder; } } }