CallerInfo Constructor
CallerInfo(RuntimeTypeHandle, String, String, Int32, Int32)
Initializes a new instance of the CallerInfo struct specifying the source type as a System.RuntimeTypeHandle.
Declaration
public CallerInfo(RuntimeTypeHandle sourceTypeToken, string methodName, string file, int line, int column)
Parameters
Type | Name | Description |
---|---|---|
System.RuntimeTypeHandle | sourceTypeToken | System.RuntimeTypeHandle of the calling type. |
System.String | methodName | Name of the calling method. |
System.String | file | Path of the source code of the calling code. |
System.Int32 | line | Line in |
System.Int32 | column | Column in |
CallerInfo(Type, String, String, Int32, Int32)
Initializes a new instance of the CallerInfo struct specifying the source type as a System.Type.
Declaration
public CallerInfo(Type sourceType, string methodName, string file, int line, int column)
Parameters
Type | Name | Description |
---|---|---|
System.Type | sourceType | System.Type of the calling type. |
System.String | methodName | Name of the calling method. |
System.String | file | Path of the source code of the calling code. |
System.Int32 | line | Line in |
System.Int32 | column | Column in |