Leadtools.Workflow.Raster Namespace > SaveImageActivity Class : GetCredentials Event |
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] [MyDescriptionAttribute("The GetCredentials event is raised right before the activity executes to enable the client to set the appropriate URI credentials.")] [CategoryAttribute("Handlers")] [BrowsableAttribute(true)] public event EventHandler<GetCredentialsEventArgs> GetCredentials
'Declaration <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> <MyDescriptionAttribute("The GetCredentials event is raised right before the activity executes to enable the client to set the appropriate URI credentials.")> <CategoryAttribute("Handlers")> <BrowsableAttribute(True)> Public Event GetCredentials As EventHandler(Of GetCredentialsEventArgs)
'Usage Dim instance As SaveImageActivity Dim handler As EventHandler(Of GetCredentialsEventArgs) AddHandler instance.GetCredentials, handler
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] [MyDescriptionAttribute("The GetCredentials event is raised right before the activity executes to enable the client to set the appropriate URI credentials.")] [CategoryAttribute("Handlers")] [BrowsableAttribute(true)] public event EventHandler<GetCredentialsEventArgs> GetCredentials
add_GetCredentials(function(sender, e)) remove_GetCredentials(function(sender, e))
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] [MyDescriptionAttribute("The GetCredentials event is raised right before the activity executes to enable the client to set the appropriate URI credentials.")] [CategoryAttribute("Handlers")] [BrowsableAttribute(true)] public: event EventHandler<GetCredentialsEventArgs^>^ GetCredentials
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.
Property | Description |
---|---|
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. |
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