C# Class MassTransit.BusHandleExtensions

Datei anzeigen Open project: MassTransit/MassTransit

Public Methods

Method Description
Stop ( this handle ) : void

Stop a bus, throwing an exception if the bus does not stop

Stop ( this handle, System.TimeSpan stopTimeout ) : void

Stop a bus, throwing an exception if the bus does not stop in the specified timeout

StopAsync ( this handle, System.TimeSpan stopTimeout ) : Task

Stop a bus, throwing an exception if the bus does not stop in the specified timeout

Method Details

Stop() public static method

Stop a bus, throwing an exception if the bus does not stop
public static Stop ( this handle ) : void
handle this The bus handle
return void

Stop() public static method

Stop a bus, throwing an exception if the bus does not stop in the specified timeout
public static Stop ( this handle, System.TimeSpan stopTimeout ) : void
handle this The bus handle
stopTimeout System.TimeSpan The wait time before throwing an exception
return void

StopAsync() public static method

Stop a bus, throwing an exception if the bus does not stop in the specified timeout
public static StopAsync ( this handle, System.TimeSpan stopTimeout ) : Task
handle this The bus handle
stopTimeout System.TimeSpan The wait time before throwing an exception
return Task