C# Class Dev2.Network.ServerProxy

Inheritance: IEnvironmentConnection
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Méthode Description
Connect ( System.Guid id ) : void
Disconnect ( ) : void
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ExecuteCommand ( StringBuilder xmlRequest, System.Guid workspaceId ) : StringBuilder
ExecuteCommandAsync ( StringBuilder xmlRequest, System.Guid workspaceId ) : Task
ServerProxy ( Uri serverUri ) : System
ServerProxy ( string serverUri, ICredentials credentials, IAsyncWorker worker ) : System
ServerProxy ( string webAddress, string userName, string password ) : System
StartAutoConnect ( ) : void
Verify ( Action callback, bool wait = true ) : void

Méthodes protégées

Méthode Description
OnNetworkStateChanged ( NetworkStateEventArgs e ) : void

Private Methods

Méthode Description
RaisePermissionsChanged ( ) : void
RaisePermissionsModified ( List args ) : void
SetupPassthroughEvents ( ) : void
UpdateIsAuthorized ( bool isAuthorized ) : void

Method Details

Connect() public méthode

public Connect ( System.Guid id ) : void
id System.Guid
Résultat void

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

ExecuteCommand() public méthode

public ExecuteCommand ( StringBuilder xmlRequest, System.Guid workspaceId ) : StringBuilder
xmlRequest StringBuilder
workspaceId System.Guid
Résultat StringBuilder

ExecuteCommandAsync() public méthode

public ExecuteCommandAsync ( StringBuilder xmlRequest, System.Guid workspaceId ) : Task
xmlRequest StringBuilder
workspaceId System.Guid
Résultat Task

OnNetworkStateChanged() protected méthode

protected OnNetworkStateChanged ( NetworkStateEventArgs e ) : void
e NetworkStateEventArgs
Résultat void

ServerProxy() public méthode

public ServerProxy ( Uri serverUri ) : System
serverUri System.Uri
Résultat System

ServerProxy() public méthode

public ServerProxy ( string serverUri, ICredentials credentials, IAsyncWorker worker ) : System
serverUri string
credentials ICredentials
worker IAsyncWorker
Résultat System

ServerProxy() public méthode

public ServerProxy ( string webAddress, string userName, string password ) : System
webAddress string
userName string
password string
Résultat System

StartAutoConnect() public méthode

public StartAutoConnect ( ) : void
Résultat void

Verify() public méthode

public Verify ( Action callback, bool wait = true ) : void
callback Action
wait bool
Résultat void