Method GetWriteChannelSourceAsync
GetWriteChannelSourceAsync(CancellationToken)
Gets a channel source for write operations.
Task<IChannelSourceHandle> GetWriteChannelSourceAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<IChannelSourceHandle>
A channel source.
GetWriteChannelSourceAsync(IMayUseSecondaryCriteria, CancellationToken)
Gets a channel source for write operations that may use a secondary.
Task<IChannelSourceHandle> GetWriteChannelSourceAsync(IMayUseSecondaryCriteria mayUseSecondary, CancellationToken cancellationToken)
Parameters
mayUseSecondary
IMayUseSecondaryCriteriaThe may use secondary criteria.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<IChannelSourceHandle>
A channel source.