Returns the appropriate surrogate for the given type in the given context.
[Visual Basic] Overridable Public Function GetSurrogate( _ ByVal type As Type, _ ByVal context As StreamingContext, _ ByRef ssout As ISurrogateSelector _ ) As ISerializationSurrogate [C#] public virtual ISerializationSurrogate GetSurrogate( Type type, StreamingContext context, ref ISurrogateSelector ssout ); [C++] public: virtual ISerializationSurrogate* GetSurrogate( Type* type, StreamingContext context, ISurrogateSelector** ssout ); [JScript] public function GetSurrogate( type : Type, context : StreamingContext, ssout : ISurrogateSelector ) : ISerializationSurrogate;
The appropriate surrogate for the given type in the given context.
RemotingSurrogateSelector Class | RemotingSurrogateSelector Members | System.Runtime.Remoting Namespace