Skip to content
Camilo Galiana edited this page Jan 12, 2016 · 1 revision

Hooks

All the examples will assume that you have created a VSO Context

var context = new VsoContext(account, username, password);

Get a list of consumer hooks

var consumerHooks = await context.Hooks.Where(x => x.Type == HookType.Consumer).ToListAsync();

Get a list of publisher hooks

var publisherHooks = await context.Hooks.Where(x => x.Type == HookType.Publisher).ToListAsync();

Clone this wiki locally