RpcMarshalableAttribute クラス

定義

オブジェクトをマーシャリングするために RPC コントラクトで使用されるインターフェイスを指定し、受信側がオブジェクトをシリアル化してリモート エンドにデータを送信する代わりにリモート メソッドを呼び出すことができるようにします。

[System.AttributeUsage(System.AttributeTargets.Interface, AllowMultiple=false, Inherited=false)]
public class RpcMarshalableAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Interface, AllowMultiple=false, Inherited=false)>]
type RpcMarshalableAttribute = class
    inherit Attribute
Public Class RpcMarshalableAttribute
Inherits Attribute
継承
RpcMarshalableAttribute
属性

注釈

マーシャブル インターフェイスの詳細を確認します

コンストラクター

名前 説明
RpcMarshalableAttribute()

オブジェクトをマーシャリングするために RPC コントラクトで使用されるインターフェイスを指定し、受信側がオブジェクトをシリアル化してリモート エンドにデータを送信する代わりにリモート メソッドを呼び出すことができるようにします。

プロパティ

名前 説明
CallScopedLifetime

マーシャリングされたオブジェクトが要求でのみ許可され、応答が送信されるまで受信側によってのみ呼び出すことができるかどうかを示す値を取得します。

適用対象