Received Communication Channel Requests setting
Namespace:
Linxter.Common.EntitiesAssembly: Linxter.Common.Entities (in Linxter.Common.Entities.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
| C# |
|---|
public enum ChannelApprovalType |
| Visual Basic (Declaration) |
|---|
Public Enumeration ChannelApprovalType |
Members
| Member name | Description | |
|---|---|---|
| WebManager |
Approval Required by Web Manager Account
| |
| ProgramInstance |
Approval Required by Program Instances
| |
| Auto |
Automatically Accept Channel Creation
|
Examples
public void WarnUser() { // set up Linxter ILinxterMessaging messaging = new LinxterSDK(); ILinxterCommunicationChannel channel = messaging as ILinxterCommunicationChannel; // show a message to the user if they need to approve requests using WebManager if (channel.ChannelApprovalType.Equals(ChannelApprovalType.WebManager)) { MessageBox.Show("Please visit http://manager.linxter.com to approve all connection requests."); } }
Public Sub WarnUser() ' set up Linxter Dim messaging As ILinxterMessaging = New LinxterSDK() Dim channel As ILinxterCommunicationChannel = TryCast(messaging, ILinxterCommunicationChannel) ' show a message to the user if they need to approve requests using WebManager If channel.ChannelApprovalType.Equals(ChannelApprovalType.WebManager) Then MessageBox.Show("Please visit http://manager.linxter.com to approve all connection requests.") End If End Sub