LEADTOOLS Workflow (Leadtools.Workflow.Raster assembly)
LEAD Technologies, Inc

GetCredentials Event (LoadImageActivity)






Gets called just before the file is loaded to enable the client to set the appropriate network credentials.
Syntax
[MyDescriptionAttribute("The GetCredentials event is raised right before the activity executes to enable the client to set the appropriate URI credentials.")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[CategoryAttribute("Handlers")]
[BrowsableAttribute(true)]
public event EventHandler<GetCredentialsEventArgs> GetCredentials
'Declaration
 
<MyDescriptionAttribute("The GetCredentials event is raised right before the activity executes to enable the client to set the appropriate URI credentials.")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)>
<CategoryAttribute("Handlers")>
<BrowsableAttribute(True)>
Public Event GetCredentials As EventHandler(Of GetCredentialsEventArgs)
'Usage
 
Dim instance As LoadImageActivity
Dim handler As EventHandler(Of GetCredentialsEventArgs)
 
AddHandler instance.GetCredentials, handler
[MyDescriptionAttribute("The GetCredentials event is raised right before the activity executes to enable the client to set the appropriate URI credentials.")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[CategoryAttribute("Handlers")]
[BrowsableAttribute(true)]
public event EventHandler<GetCredentialsEventArgs> GetCredentials
add_GetCredentials(function(sender, e))
remove_GetCredentials(function(sender, e))

[MyDescriptionAttribute("The GetCredentials event is raised right before the activity executes to enable the client to set the appropriate URI credentials.")]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[CategoryAttribute("Handlers")]
[BrowsableAttribute(true)]
public:
event EventHandler<GetCredentialsEventArgs^>^ GetCredentials
Event Data

The event handler receives an argument of type GetCredentialsEventArgs containing data related to this event. The following GetCredentialsEventArgs properties provide information specific to this event.

PropertyDescription
Credentials Gets or sets the ICredentials object to use for file access. This member has to be set to a new instance of an ICredentials object.
Remarks
The callback receives an object that contains the ICredentials object to set.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LoadImageActivity Class
LoadImageActivity Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Workflow.Raster requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features