IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

Redirect Event

Fired when a redirection is received from the server.

Syntax

[VB.NET]
Public Event OnRedirect As OnRedirectHandler
[C#]
public event OnRedirectHandler OnRedirect;

public delegate void OnRedirectHandler(object sender, WebdavRedirectEventArgs e);

class WebdavRedirectEventArgs : EventArgs {
  string Location {get;}
  bool Accept {get; set;}
}

Remarks

This event is where the client can decide whether to continue with the redirection process or not. The Accept parameter is always true by default, but if you do not want to follow the redirection, Accept may be set to false, in which case the component throws an exception. Location is the location to which the client is being redirected. Further control over redirection is provided in the FollowRedirects property.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0