Share via


RpcMarshalableAttribute Class

Definition

Designates an interface that is used in an RPC contract to marshal the object so the receiver can invoke remote methods on it instead of serializing the object to send its data to the remote end.

[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
Inheritance
RpcMarshalableAttribute
Attributes

Remarks

Learn more about marshable interfaces.

Constructors

RpcMarshalableAttribute()

Properties

CallScopedLifetime

Gets a value indicating whether the marshaled object is only allowed in requests and may only be invoked by the receiver until the response is sent.

Applies to