Syntax
[WebGetAttribute(BodyStyle=0,
UriTemplate="?id={id}&domain={domain}&interface=ContextAction&method=Perform&cpCallBackURL={cp" + "CallBackURL}&cpErrorURL={cpErrorURL}&partcipantCoupon={partcipantCoupon}&inputNa" + "mes={inputNames}&inputValues={inputValues}&appSignature={appSignature}")]
[OperationContractAttribute()]
public Stream Perform(
string id,
string domain,
string cpCallBackURL,
string cpErrorURL,
int partcipantCoupon,
string[] inputNames,
string[] inputValues,
string appSignature
)
<OperationContractAttribute()>
<WebGetAttribute(IsBodyStyleSetExplicitly=True, UriTemplate="?id={id}&domain={domain}&interface=ContextAction&method=Perform&cpCallBackURL={cpCallBackURL}&cpErrorURL={cpErrorURL}&partcipantCoupon={partcipantCoupon}&inputNames={inputNames}&inputValues={inputValues}&appSignature={appSignature}")>
Function Perform( _
ByVal id As String, _
ByVal domain As String, _
ByVal cpCallBackURL As String, _
ByVal cpErrorURL As String, _
ByVal partcipantCoupon As Integer, _
ByVal inputNames() As String, _
ByVal inputValues() As String, _
ByVal appSignature As String _
) As Stream
[OperationContractAttribute()]
[WebGetAttribute(IsBodyStyleSetExplicitly=true, UriTemplate="?id={id}&domain={domain}&interface=ContextAction&method=Perform&cpCallBackURL={cpCallBackURL}&cpErrorURL={cpErrorURL}&partcipantCoupon={partcipantCoupon}&inputNames={inputNames}&inputValues={inputValues}&appSignature={appSignature}")]
Stream^ Perform(
String^ id,
String^ domain,
String^ cpCallBackURL,
String^ cpErrorURL,
int partcipantCoupon,
array<String^>^ inputNames,
array<String^>^ inputValues,
String^ appSignature
)
Parameters
id
The context manager id.
domain
The domain name of the site or organization that is being served by the located component.
cpCallBackURL
The URL that the context participant should be redirected to when the action completed.
cpErrorURL
The URL that the context participant should be redirected to when an error occurred while performing the action.
partcipantCoupon
The participant coupon of the application received from JoinCommonContext.
appSignature
The digital signature of the application.
Return Value
The actionCoupon, outputNames, outputValues and managerSignature.