←Select platform

Activate Method

Summary

Activates a web context manager so that it represents the active session for a point-of-use device.

Syntax

C#
VB
C++
[OperationContractAttribute()] 
[WebGetAttribute(BodyStyle=0, 
   UriTemplate="?id={id}&domain={domain}&interface=ContextSession&method=Activate&participantCoup" + "on={participantCoupon}&cmToActivate={cmToActivate}&nonce={nonce}&AppSignature={a" + "ppSignature}")] 
public Stream Activate( 
   string id, 
   string domain, 
   int participantCoupon, 
   string cmToActivate, 
   string nonce, 
   string appSignature 
) 
<WebGetAttribute(IsBodyStyleSetExplicitly=True, UriTemplate="?id={id}&domain={domain}&interface=ContextSession&method=Activate&participantCoupon={participantCoupon}&cmToActivate={cmToActivate}&nonce={nonce}&AppSignature={appSignature}")> 
<OperationContractAttribute()> 
Function Activate( _ 
   ByVal id As String, _ 
   ByVal domain As String, _ 
   ByVal participantCoupon As Integer, _ 
   ByVal cmToActivate As String, _ 
   ByVal nonce As String, _ 
   ByVal appSignature As String _ 
) As Stream 
[WebGetAttribute(IsBodyStyleSetExplicitly=true, UriTemplate="?id={id}&domain={domain}&interface=ContextSession&method=Activate&participantCoupon={participantCoupon}&cmToActivate={cmToActivate}&nonce={nonce}&AppSignature={appSignature}")] 
[OperationContractAttribute()] 
Stream^ Activate(  
   String^ id, 
   String^ domain, 
   int participantCoupon, 
   String^ cmToActivate, 
   String^ nonce, 
   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.

participantCoupon
The participant coupon of the application received from JoinCommonContext.

cmToActivate
The context manager URL to activate.

nonce
A string provide to create the digital signal. A new value should be provide each time this is called.

appSignature
The digital signature of the application.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ccow.Services Assembly