C# Class MassTransit.BusControlExtensions

Datei anzeigen Open project: MassTransit/MassTransit

Public Methods

Method Description
Start ( this busControl ) : void

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

Stop ( this busControl ) : void

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

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

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

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

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

Method Details

Start() public static method

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

Stop() public static method

Stop a bus, throwing an exception if the bus does not stop
public static Stop ( this busControl ) : void
busControl 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 bus, System.TimeSpan stopTimeout ) : void
bus 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 bus, System.TimeSpan stopTimeout ) : Task
bus this The bus handle
stopTimeout System.TimeSpan The wait time before throwing an exception
return Task