Entity.UpdateActionState Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Called within the context of an OnActionStateChanged override. This method will raise the appropriate property changed notifications for the properties corresponding to a custom method.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Protected Sub UpdateActionState ( _
name As String, _
canInvokePropertyName As String, _
isInvokedPropertyName As String _
)
'Usage
Dim name As String
Dim canInvokePropertyName As String
Dim isInvokedPropertyName As String
Me.UpdateActionState(name, canInvokePropertyName, _
isInvokedPropertyName)
protected void UpdateActionState(
string name,
string canInvokePropertyName,
string isInvokedPropertyName
)
protected:
void UpdateActionState(
String^ name,
String^ canInvokePropertyName,
String^ isInvokedPropertyName
)
member UpdateActionState :
name:string *
canInvokePropertyName:string *
isInvokedPropertyName:string -> unit
protected function UpdateActionState(
name : String,
canInvokePropertyName : String,
isInvokedPropertyName : String
)
Parameters
- name
Type: System.String
The custom method name.
- canInvokePropertyName
Type: System.String
The name of the "CanInvoke" guard property for the custom method.
- isInvokedPropertyName
Type: System.String
The name of the "IsInvoked" property for the custom method.