MessageSource Class |
Provides commodity methods to work with an IMessageSink.

Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)

C#
public class MessageSource : MarshalByRefObject, IMessageSink
The MessageSource type exposes the following members.

Name | Description | |
---|---|---|
![]() | MessageSource(String, IMessageDispenser) |
Initializes a new MessageSource backed by a IMessageDispenser.
|
![]() | MessageSource(String, ResourceManager) |
Instantiates a MessageSource backed by a ResourceManager.
|

Name | Description | |
---|---|---|
![]() ![]() | MessageSink |
Gets the current message sink.
|

Name | Description | |
---|---|---|
![]() | CreateMessage(MessageLocation, SeverityType, String, Exception, Object[]) |
Creates a Message from the current MessageSource.
|
![]() | CreateMessage(SeverityType, String, Object[], String, Int32, Int32, Exception) | Obsolete. |
![]() | Write(Message) |
Writes a message to the sink.
|
![]() | Write(SeverityType, String, Object[]) | Obsolete. |
![]() | Write(Assembly, SeverityType, String, Object[]) |
Emits a Message.
|
![]() | Write(MemberInfo, SeverityType, String, Object[]) |
Emits a Message.
|
![]() | Write(ParameterInfo, SeverityType, String, Object[]) |
Emits a Message.
|
![]() | Write(MessageLocation, SeverityType, String, Object[]) |
Emits a Message.
|
![]() | Write(SeverityType, String, Object[], SymbolSequencePoint) | Obsolete. |
![]() | Write(SeverityType, String, Object[], String) | Obsolete. |
![]() | Write(MessageLocation, SeverityType, String, Exception, Object[]) | |
![]() | Write(SeverityType, String, Object[], String, Int32) | Obsolete. |
![]() | Write(SeverityType, String, Object[], String, Int32, Int32) | Obsolete. |
![]() | Write(SeverityType, String, Object[], String, Int32, Int32, Exception) | Obsolete. |

Name | Description | |
---|---|---|
![]() | QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
