marshaler

marshaler

 英

  • 网络封送拆收器;处理器;封送处理器

例句

The former is accomplished using some form of serialization engine, or marshaler. The latter is achieved through some form of metadata.

前者使用形式序列化引擎称为完成后者通过形式元数据完成

Provides a way for clients to access the actual object, rather than the adapter object handed out by a custom marshaler.

客户端访问实际对象不是定义分发适配器对象提供一种方式

The marshaler identifies the object by looking at one of the interfaces the object implements.

通过查看对象实现接口之一标识对象

When a string is passed by value, the callee must never alter the reference passed by the marshaler.

字符串通过传递调用绝不改变传递引用

When the interface is first passed through the marshaler, the marshaler checks whether the interface is coming from a known object.

第一次通过传递接口检查接口是否来自已知对象

When arrays are passed as C-style arrays, the marshaler cannot determine the size of the array.

数组作为C样式数组传递不能确定数组大小

The interop marshaler performs the identical transformation when exposing a VARIANT type to managed code.

互操作托管代码公开VARIANT类型执行相同转换

Best-fit mapping enables the interop marshaler to provide a close-matching character when no exact match exists.

最佳映射使互操作可以没有精确匹配情况提供近似匹配字符

Provides access to the underlying object wrapped by a custom marshaler.

提供定义包装基础对象访问权限

If either attribute is omitted, the marshaler can optimize by eliminating either copy.

如果忽略其中一个特性可以通过消除其中一个副本进行优化

You apply them to method parameters when you want to alter the default behavior of the marshaler.

可以希望改变默认行为它们用于方法参数

The marshaler pins data to reduce the overhead of copying and enhance performance.

锁定数据减小复制系统开销提高性能

Describes the process for writing a custom marshaler for interoperation.

描述如何实现互用性编写定义

The marshaler can use the CLSID to locate the metadata for the wrapper.

可以使用CLSID找到包装数据

By using a custom marshaler, you can minimize the distinction between new .

藉由使用处理器可以尽量缩小

Before you can build a marshaler, you must define the managed and unmanaged interfaces being marshaled.

生成封送之前必须定义托管托管接口

For example, the marshaler determines that the class wrapper should be used to wrap the interface that was passed into managed code.

例如确定应当使用包装包装传递托管代码接口