IdeaBlade DevForce 2010 Help Reference
AllowRpcAttribute Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : AllowRpcAttribute Class



Defines an attribute that marks a server method as being callable from a client.

Syntax

Visual Basic (Declaration) 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Method, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class AllowRpcAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
Visual Basic (Usage)Copy Code
Dim instance As AllowRpcAttribute
C# 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class AllowRpcAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
C++/CLI 
[AttributeUsageAttribute(ValidOn=AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
public ref class AllowRpcAttribute sealed : public System.Attribute, System.Runtime.InteropServices._Attribute  

Remarks

Methods with the AllowRpc attribute may be invoked from client-side code using EntityManager.InvokeServerMethod.

Inheritance Hierarchy

System.Object
   System.Attribute
      IdeaBlade.EntityModel.AllowRpcAttribute

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

AllowRpcAttribute Members
IdeaBlade.EntityModel Namespace
IdeaBlade.EntityModel.EntityManager.InvokeServerMethod(ServerMethodDelegate, Object[])

© 2013 All Rights Reserved.